• Resolved rweil55

    (@rweil55)


    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 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eli

    (@scheeeli)

    Thanks for the details and the suggested fixes. I just released a new version 4.16.38 that should fix all those compatibility issues with newer versions of WordPress and also some other compatibility issues with PHP7 ??

    Thread Starter rweil55

    (@rweil55)

    Eli

    Works for me WP 4.7.3, PHP 7.0, hosted on 1and1

    Thank you

    Roy

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Notices” on fresh install’ is closed to new replies.