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, 10 months ago by joey12.
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
Kindly help me.. getting this issue suddenly. When this is coming I am unable to activate the plugin only it’s are view only.
I have already done the below things..
1. Disabled all plugin and then re-active all again.
2. Upgraded the WordPress to it’s latest version that is 5.4
3. Test all other, but unable to find the issues.
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 /home/genco3ge/public_html/honeyclub.in/wp-includes/functions.php on line 5167
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 /home/ttimfbcx/mydomain.com/wp-includes/functions.php on line 5167
how to fix this error anyone can help me please .. i am not expert in php language…
Hi!
Check with your hosting our in your server if your EasyApache is using mod_event as Apache MPM. if so, and if possible try switching to mod_itk or mod_mpm_prefork.
I have the same problem here, this was the solution. Change to mod_mpm_prefork
hello ,
dear friends i am facing same problem . can any solve this .. thanku
HI ,
I have same problem can any one help me out . please. i have no idea about the coding afraid to edit. it would be greatful.
Add_submenu_page() – facing error kindly help me to fix this issue. after added version 5.3.0
Hey, everybody!
If you are comfortable with PHP coding, please see my previous explanation of how to error_log
the stack backtrace to find the bug.
If you ARE NOT comfortable editing code, you may hide PHP errors by adding/editing one line in your wp-config.php
file. Please look up more information on this concept if you need. In your wp-config.php
file on your server, add this line of code above the “That’s all! Stop editing!” line of text:
define( 'WP_DEBUG_DISPLAY', false );
To disable debugging altogether—which I do recommend doing if you are not a developer—you can instead find the line that says:
define( 'WP_DEBUG', true );
…and change it to false:
define( 'WP_DEBUG', false );
If you are still struggling to resolve the issue, do not worry! If your site is functioning properly, this error message is nothing to worry about. If you insist on removing the error message, however, you will need to connect with a developer to assist you.
I hope this helps you all!
Michelle
hi @michelleblanchette ,
thank you so much for the reply and useful guidance, highly appreciated . but actually i’m facing problem to open new post or writing new post . when i click to open new post it shows complete empty. How to resolve this ?
kindly help me . please.