[wp-trac] [WordPress Trac] #30418: Warnings in add_submenu_page() (was: Warning: Missing argument 5 for add_submenu_page(), called in /nfs/c06/h06/mnt/174569/domains/ps212.com/html/wp-content/themes/ps212/functions.php on line 203 and defined in /nfs/c06/h06/mnt/174569/domains/ps212.com/html/wp-admin/includes/plugin.php on line 1103 Warning: Illegal offset type in isset or empty in /nfs/c06/h06/mnt/174569/domains/ps212.com/html/wp-includes/capabilities.php on line 1322 Warning: Illegal offset type in isset or empty in /nfs/c06/h06/mnt/174569/domains/ps212.com/html/wp-includes/capabilities.php on line 994)

WordPress Trac noreply at wordpress.org
Thu Nov 20 17:03:53 UTC 2014


#30418: Warnings in add_submenu_page()
-------------------------------------+------------------------------
 Reporter:  josephorr                |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Themes                   |     Version:  4.0
 Severity:  normal                   |  Resolution:
 Keywords:  close reporter-feedback  |     Focuses:
-------------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => close reporter-feedback
 * component:  General => Themes


Comment:

 Thanks for the report joesphorr.

 This appears to be a problem with your theme, "ps212". It's calling
 `add_submenu_page()` but missing the fifth parameter.

 Can you activate the default theme and confirm that the error goes away?
 If so, you'll need to report the problem with the developer of the "ps212"
 theme.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30418#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list