• Resolved angelamac

    (@angelamac)


    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

    • This topic was modified 9 months, 3 weeks ago by angelamac.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter angelamac

    (@angelamac)

    After uploading the previous version of the plugin, Version 1.8.9 the issue no longer exists. Can you please update when you will have the fix in your latest release?

    Thank you.

    Plugin Author BWPS Team

    (@buildwps)

    Hi @angelamac,

    Thank you for reaching out to us and the feedback.

    Glad to hear that you were able to upload the previous version to fix the issue.

    I have asked our dev team to check and will fix it ASAP. We will keep you updated.

    Thread Starter angelamac

    (@angelamac)

    We received notification that version 1.8.9 is vulnerable to Bypass Vulnerability according to patchstack.

    Due to the critical error when updating to the 1.9.0 version we experienced, we cannot update to that version. I was just checking to see if this issue has been resolved by your dev team. Thank you for your assistance!

    • This reply was modified 9 months, 3 weeks ago by angelamac.
    Plugin Author BWPS Team

    (@buildwps)

    Hello again,

    We apologize for the inconvenience caused.

    Could you please consider re-downloading the new version 1.9.0 of the plugin and reinstalling it to ensure a smooth and error-free experience?

    Then let us know if it works.

    Thread Starter angelamac

    (@angelamac)

    Thank you for your response. I was able to update the 1.9.0 version of the plugin with no issues this time, and I no longer have the security error issues either.

    Thanks again!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Version: 1.9.0 – Critical Error on Site’ is closed to new replies.