Version: 1.9.0 – Critical Error on Site
-
When updating to the most recent release, we received a critical error on our site and had to disable the plugin. Below is the error information. I would like to request the previous version of the plugin so I can reinstall it please until there is a fix so we can still use it. Thank you!
Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /wordpress/wp-includes/capabilities.php:877
Stack trace: #0 /www/wp-content/plugins/password-protect-page/admin/class-ppw-admin.php(902): current_user_can('administrator')
#1 /wordpress/wp-includes/class-wp-hook.php(324): PPW_Admin->ppwp_unset_rest_routes(Array, 'post')
#2 /wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#3 /wordpress/wp-includes/class-wp-post-type.php(491): apply_filters('register_post_t...', Array, 'post')
#4 /wordpress/wp-includes/class-wp-post-type.php(467): WP_Post_Type->set_props(Array)
#5 /wordpress/wp-includes/post.php(1725): WP_Post_Type->__construct('post', Array)
#6 /wordpress/wp-includes/post.php(43): register_post_type('post', Array)
#7 /wordpress/wp-settings.php(459): create_initial_post_types()
#8 /www/wp-config.php(125): require_once('/wordpress/wp-s...')
#9 /wordpress/wp-config.php(5): require('/www/wp-config....')
#10 /wordpress/wp-load.php(50): require_once('/wordpress/wp-c...') in /wordpress/wp-includes/capabilities.php on line 877 Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /wordpress/wp-includes/functions.php on line 6031 Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /wordpress/wp-includes/functions.php on line 6031
- The topic ‘Version: 1.9.0 – Critical Error on Site’ is closed to new replies.