• Resolved maja2019

    (@maja2019)


    Having WordPress 6.0
    All plugins up-to-date, cache and cookies cleared, problem still persists.

    The whole error is:

    Notice: Function add_menu_page was called incorrectly. The seventh parameter passed to add_menu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 6.0.0.) in /home/customer/www/actgreener.co/public_html/wp-includes/functions.php on line 5831

    Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/actgreener.co/public_html/wp-includes/functions.php:5831) in /home/customer/www/actgreener.co/public_html/wp-admin/includes/misc.php on line 1380

    The website seems to be working ok on the front side. However, at the back I get this Notice with Warning and I’m unable to use Elementor properly (there is no save button to save the changes, but a button to get the pro version).

    Screenshots showing misc.php line 1380 and funcions.php line 5831:
    https://www.dropbox.com/s/70k8iwlvcbqfkun/functions_php_screenshot.png?dl=0
    https://www.dropbox.com/s/f754j9pwbroav3g/misc_php_screenshot.png?dl=0

    I’ve been told that “functions.php is code that has been added by the theme”. I searched for add_menu_page() in functions.php but didn’t find it there.

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Abhishek

    (@abhikr781)

    Hello,

    Are you getting these errors on the dashboard or in the debug log?

    For troubleshooting, please do the following steps and let me the results:

    Head over to WP Dashboard > Plugin.
    Deactivate all plugins.
    Then, first, activate the woocommerce, then ocean extra.
    Check your issue.
    Then, activate your plugins one by one.
    After activation of any plugins, check your issue.

    Note: if you have a cache plugin or server cache. You need to clear its cache contents or disable them.

    In addition, Would you be so kind and go to Elementor > System Info and share the report with us so that we can take a look?

    techagor

    (@techagor)

    Hi!
    I had the same issue and it was fixed by disabling the “Analytify – Google Analytics Dashboard” plugin

    Thread Starter maja2019

    (@maja2019)

    Thank you, that resolved my issue as well.

    Abhishek

    (@abhikr781)

    Glad to hear that issue has been resolved.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Function add_menu_page was called incorrectly.’ is closed to new replies.