Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Would updating to WordPress 5.3.2 solve this issue? These are the exact errors pointing to wp-includes:

    Notice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in /var/www/html/wp-includes/functions.php on line 4970

    Notice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in /var/www/html/wp-includes/functions.php on line 4970

    Notice: Trying to get property ‘http’ of non-object in /var/www/html/wp-content/plugins/ocean-extra/includes/freemius/includes/class-fs-api.php on line 290

    Notice: /var/www/html/wp-content/plugins/the-events-calendar/src/deprecated/TribeEventsAPI.php is deprecated since version 3.10! Use Tribe__Events__API instead. in /var/www/html/wp-includes/functions.php on line 4786

    Ok I have disabled all plugins one by one and issue is still there. I have switched themes and issue is still there. Only thing that is different is when using my child theme for oceanWP theme it cuts off appearance-> customize and I’m not able to edit anything on customize section(CustomizeBlank). Only if I switch themes, but the errors still show up on the WordPress Dashboard as I have shown in the screenshot(WordPressDashboardErrors).

    Errors:
    was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in /var/www/html/wp-includes/functions.php on line 4970

    • This reply was modified 4 years, 9 months ago by joey12.

    Hi Michelle,
    @michelleblanchette

    I’m having the same issue, but mine deals with OceanWP child theme.

    So to solve this issue in your example did you delete line 122 in class-child-theme-generator-admin.php? What were the steps you made to resolve this issue after the backtrace print?

    ” #1 add_submenu_page() called at [/var/www/html/wp-content/plugins/child-theme-generator/admin/class-child-theme-generator-admin.php:122]”

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