Closed randhirexpresstech closed 5 months ago
fixed undefined constant SECURE_AUTH_COOKIE due to current_user_can function 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): r
Please check all of the following items before merging
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots No data about Coverage 0.0% Duplication on New Code
See analysis details on SonarCloud
fixed undefined constant SECURE_AUTH_COOKIE due to current_user_can function 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): r
Merge Checklist
Please check all of the following items before merging