Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

“Notices” on fresh install

$
0
0

Replies: 0

Eli

I am getting some Notices when I activate the ez sql reports plugn

Error:
Notice: add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead. in /homepages/28/d89642000/htdocs/clickandbuilds/testingsite/wp-includes/functions.php on line 3829
Fix:
in index.php about line 812 should be if ( function_exists(“add_menu_page”)
Note: test for add menu page, not for the apsense of add_object_page.

Error:
Notice: Undefined index: page in /homepages/28/d89642000/htdocs/clickandbuilds/testingsite/wp-content/plugins/elisqlreports/index.php on line 832
Fix:
(array_key_exists(“page”, $_GET) && ($_GET[“page”] == $Rslug)) )
Note: This test for the missing array key – I do not know when the key is present, so you will have to test this fix for when the key is present

Error on save settings:
Notice: Undefined index: backup_dir in /homepages/28/d89642000/htdocs/clickandbuilds/testingsite/wp-content/plugins/elisqlreports/index.php on line 768
Fix:
add array_key_exists(“backup_dir”, $_POST) &&
just before is_dir($_POST[“backup_dir”])
Note: This test for the missing array key – I do not know when the key is present, so you will have to test this fix for when the key is present

Hope this helps

Roy


Viewing all articles
Browse latest Browse all 59525

Trending Articles