Possible Undefined index: redirect_to
-
It may be possible that there is no
$_REQUEST['redirect_to']
but that doesn’t get checked in line 134 of the filepassword-protected/theme/password-protected-login.php
. This leads to a PHP notice for an undefined index: redirect_to and should be fixed.The complete stack:
ErrorException: Notice: Undefined index: redirect_to #8 /wp-content/plugins/password-protected/theme/password-protected-login.php(134): require_once #7 /wp-includes/template.php(723): load_template #6 /wp-content/plugins/password-protected/password-protected.php(374): Password_Protected::maybe_show_login #5 /wp-includes/class-wp-hook.php(287): WP_Hook::apply_filters #4 /wp-includes/class-wp-hook.php(311): WP_Hook::do_action #3 /wp-includes/plugin.php(478): do_action #2 /wp-includes/template-loader.php(13): require_once #1 /wp-blog-header.php(19): require #0 /index.php(17): null
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Possible Undefined index: redirect_to’ is closed to new replies.