Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#50956 closed defect (bug) (invalid)

Notice: add_submenu_page was called incorrectly

Reported by: paontheweb's profile paontheweb Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: Cc:

Description

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/xew6ysr2kpb7/public_html/outerbanksbagels.com/wp-includes/functions.php on line 5225

Change History (2)

#1 @desrosj
4 years ago

  • Component changed from General to Administration
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 5.5 deleted

@paontheweb Welcome to Trac! Thanks for this ticket.

Unfortunately, this is not the correct place for requests like this. You will see better results in the WordPress.org support forums.

But, it seems that a plugin or theme is incorrectly calling the add_submenu_page() function in Core. I recommend these steps to help find the offending plugin.

Good luck!

#2 @SergeyBiryukov
4 years ago

  • Summary changed from Functions.php error line 5225 to Notice: add_submenu_page was called incorrectly
Note: See TracTickets for help on using tickets.