• Resolved roly151

    (@roly151)


    We updated to the latest version today and it causes a fatal error on our site, so we have had to disable your plugin.

    PHP Fatal error:? Uncaught Error: Undefined constant "SECURE_AUTH_COOKIE" in /.../wp-includes/pluggable.php:929
    
    Stack trace:
    
    #0 /.../wp-includes/pluggable.php(694): wp_parse_auth_cookie(false, '')
    
    #1 /.../wp-includes/class-wp-hook.php(324): wp_validate_auth_cookie(false)
    
    #2 /.../wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)
    
    #3 /.../wp-includes/user.php(3628): apply_filters('determine_curre...', false)
    
    #4 /.../wp-includes/pluggable.php(70): _wp_get_current_user()
    
    #5 /.../wp-includes/capabilities.php(877): wp_get_current_user()
    
    #6 /.../wp-content/plugins/quiz-master-next/mlw_quizmaster2.php(172): current_user_can('manage_options')
    
    #7 /.../wp-content/plugins/quiz-master-next/mlw_quizmaster2.php(194): MLWQuizMasterNext->qsm_is_admin()
    
    #8 /.../wp-content/plugins/quiz-master-next/mlw_quizmaster2.php(160): MLWQuizMasterNext->load_dependencies()
    
    #9 /.../wp-content/plugins/quiz-master-next/mlw_quizmaster2.php(748): MLWQuizMasterNext->__construct()
    
    #10 /.../wp-settings.php(418): include_once('/home/ofclight/...')
    
    #11 /.../wp-config.php(234): require_once('/...')
    
    #12 /.../wp-load.php(50): require_once('/...')
    
    #13 /.../wp-blog-header.php(13): require_once('/...')
    
    #14 /.../index.php(17): require('/...')
    
    #15 {main}
    
    ? thrown in /.../wp-includes/pluggable.php on line 929
Viewing 6 replies - 1 through 6 (of 6 total)
  • Dear @roly151,

    I apologize for the inconvenience you have experienced.

    I will promptly discuss this matter with our technical team and ensure that we address it appropriately.

    Rest assured, I will keep you informed of any developments or updates as soon as they become available.

    Best regards,
    Sumit

    Dear @roly151,

    Thank you for your patience.

    Please follow the steps outlined below:

    1. Navigate to the file wp-content/plugins/quiz-master-next/mlw_quizmaster2.php.
    2. Replace line number 194 with the following code:

    if ( is_admin() || ( ! empty( $_POST[‘qsm_block_api_call’] ) && $this->qsm_is_admin() ) ) {

    If the issue persists, I recommend deactivating the plugins on your website one by one to identify if there’s a conflict causing the problem. Alternatively, you can provide us with a list of the plugins you are currently using, and we will attempt to replicate the issue to provide you with a solution.

    Looking forward to your response.

    Regards,
    Sumit

    Thread Starter roly151

    (@roly151)

    Hi,

    I made the change as outlined, activated v9.0.0 of the plugin and it seems to have fixed the problem. We no longer get a fatal error. Thanks for your quick resolution

    Hi
    Today I’ve updated to version 9.0.0 and I get this error which does not allow me to enter WP Admin.
    Fortunately front runs.d

    [08-Apr-2024 11:07:41 UTC] PHP Parse error:  syntax error, unexpected ')' in D:\HTDocs\www_website_com\wp-content\plugins\quiz-master-next\php\admin\functions.php on line 1580

    As you have noticed, this site is hosted by IIS.

    Thanks

    Thanks for the solution sumitsanadhya

    Can we expect the next version of the plugin to include this line of code? Just so this manual update to the plugin doesn’t need to be done again.

    Plugin Support sadiyakhanam

    (@sadiyakhanam)

    Hello @roly151,

    We’re delighted to share that the fatal error has been resolved in our latest version of QSM, which is 9.0.1. Please update the plugin at your earliest convenience, and feel free to reach out if you encounter any further issues.

    Warm regards,
    QSM Support Team

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Latest Update – Fatal Error’ is closed to new replies.