Undefined index: page
-
I’ve
WP_DEBUG
enabled and getting the error_log filled with these:PHP Notice: Undefined index: page in \wp.mydomain.com\wp-content\plugins\ultimate-reviews\Main.php on line 258
The culprit points to here:
258: if (get_option("URP_Run_Tutorial") == "Yes" and $_GET['page'] == 'EWD-URP-Options') { add_action( 'admin_enqueue_scripts', 'URP_Set_Pointers', 10, 1); }
changing
$_GET['page']
to@$_GET['page']
seems to workaround the issue.EDIT: Similarly applies to:
PHP Notice: Undefined variable: Display_Tab in \wp.mydomain.com\wp-content\plugins\ultimate-reviews\html\OptionsPage.php on lines 153 to 159
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Undefined index: page’ is closed to new replies.