• [27-Aug-2020 19:37:52 UTC] PHP Warning: Use of undefined constant USER_SWITCHING_SECURE_COOKIE – assumed ‘USER_SWITCHING_SECURE_COOKIE’ (this will throw an Error in a future version of PHP) in wp-content/plugins/user-switching/user-switching.php on line 1100
    [27-Aug-2020 19:37:52 UTC] PHP Warning: Use of undefined constant USER_SWITCHING_COOKIE – assumed ‘USER_SWITCHING_COOKIE’ (this will throw an Error in a future version of PHP) in wp-content/plugins/user-switching/user-switching.php on line 1056
    [27-Aug-2020 19:37:52 UTC] PHP Warning: Use of undefined constant USER_SWITCHING_SECURE_COOKIE – assumed ‘USER_SWITCHING_SECURE_COOKIE’ (this will throw an Error in a future version of PHP) in wp-content/plugins/user-switching/user-switching.php on line 1057
    [27-Aug-2020 19:37:52 UTC] PHP Warning: Use of undefined constant USER_SWITCHING_OLDUSER_COOKIE – assumed ‘USER_SWITCHING_OLDUSER_COOKIE’ (this will throw an Error in a future version of PHP) in wp-content/plugins/user-switching/user-switching.php on line 1058

Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    When does this error occur please? By default these constants are not used until after they’re defined, so something else must be causing this. Can you deactivate your other plugins one by one to see if one of them is triggering this?

Viewing 1 replies (of 1 total)
  • The topic ‘PHP warnings that will throw an error in future PHP versions’ is closed to new replies.