Title: PHP Error
Last modified: January 31, 2025

---

# PHP Error

 *  Resolved [Bruno Martinez](https://wordpress.org/support/users/brmartinez/)
 * (@brmartinez)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-error-681/)
 * Hello, our site is crashing due to an error related to your plugin. Here’s what
   we’ve found in the logs:
 *     ```wp-block-code
       [31-Jan-2025 14:08:00 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /home/showmetechcom/public_html/wp-content/plugins/co-authors-plus/php/class-coauthors-plus.php:408Stack trace:#0 /home/showmetechcom/public_html/wp-content/plugins/co-authors-plus/php/class-coauthors-plus.php(974): CoAuthors_Plus->is_post_type_enabled(false)#1 /home/showmetechcom/public_html/wp-includes/class-wp-hook.php(326): CoAuthors_Plus->coauthors_update_post(2859514, NULL)#2 /home/showmetechcom/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#3 /home/showmetechcom/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#4 /home/showmetechcom/public_html/wp-includes/post.php(5060): do_action('save_post', 2859514, NULL, false)#5 /home/showmetechcom/public_html/wp-content/plugins/revisionary-pro/includes-pro/NotificationDefaults.php(282): wp_insert_post(Array)#6 /home/showmetechcom/public_html/wp-content/plugins/revisionary-pro/includes-pro/NotificationDefaults.php(18): PublishPress\Revisions\NotificationDefaults->createDefaultWorkflowNotification('revision-schedu...')#7 /home/showmetechcom/public_html/wp-content/plugins/revisionary-pro/includes-pro/pro-load.php(54): PublishPress\Revisions\NotificationDefaults->applyRevisionDefaults(true)#8 /home/showmetechcom/public_html/wp-content/plugins/revisionary-pro/includes-pro/pro-load.php(11): RevisionaryPro->__construct()#9 /home/showmetechcom/public_html/wp-content/plugins/revisionary-pro/revisionary-pro.php(140): RevisionaryPro::instance()#10 /home/showmetechcom/public_html/wp-includes/class-wp-hook.php(324): {closure}('')#11 /home/showmetechcom/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#12 /home/showmetechcom/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#13 /home/showmetechcom/public_html/wp-settings.php(559): do_action('plugins_loaded')#14 /home/showmetechcom/public_html/wp-config.php(76): require_once('/home/showmetec...')#15 /home/showmetechcom/public_html/wp-load.php(50): require_once('/home/showmetec...')#16 /home/showmetechcom/public_html/wp-admin/admin-ajax.php(22): require_once('/home/showmetec...')#17 {main}thrown in /home/showmetechcom/public_html/wp-content/plugins/co-authors-plus/php/class-coauthors-plus.php on line 408
       ```
   
 * Can you please check if this can be fixed? If you need any additional information
   from us, we’re at your disposal.
 * Our site uses PHP8.1.31.
 * Kind regards.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-error-681/#post-18277323)
 * Hi Bruno,
 * Can you confirm which version of WordPress you’re using on your site, as well
   as the version of Co-Authors Plus?
 *  Thread Starter [Bruno Martinez](https://wordpress.org/support/users/brmartinez/)
 * (@brmartinez)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-error-681/#post-18277901)
 * Sure, wordpress 6.7.1.
 * If you need anything else, let me know.
 *  Plugin Support [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-error-681/#post-18279601)
 * Thanks for reporting this Bruno. I’ve now logged the details of this on our list
   of issues on Github: [https://github.com/Automattic/Co-Authors-Plus/issues/1094](https://github.com/Automattic/Co-Authors-Plus/issues/1094)
 * As per the pinned note in this forum, there’s no guarantees when we’ll get around
   to this, but the issue will now be in front of the developers.
 *  Thread Starter [Bruno Martinez](https://wordpress.org/support/users/brmartinez/)
 * (@brmartinez)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-error-681/#post-18284161)
 * ok, thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/co-authors-plus/assets/icon-256x256.png?rev=2945095)
 * [Co-Authors Plus](https://wordpress.org/plugins/co-authors-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/co-authors-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/co-authors-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/co-authors-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/co-authors-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/co-authors-plus/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Bruno Martinez](https://wordpress.org/support/users/brmartinez/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/php-error-681/#post-18284161)
 * Status: resolved