Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed undefined constant SECURE_AUTH_COOKIE #2521

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Conversation

randhirexpresstech
Copy link
Contributor

https://app.clickup.com/t/86cv128j5
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):

Merge Checklist

Please check all of the following items before merging

  • No new WPCS issues
  • No notices, warnings or errors in debug.log
  • No sonar cloud issues
  • No errors while running automated tests

Copy link

sonarqubecloud bot commented Apr 3, 2024

Quality Gate Passed Quality Gate passed

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

@randhirexpresstech randhirexpresstech merged commit 0a777d2 into dev Apr 3, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant