Home>

The site is created using SANGO (theme) of WordPress.

I usually used the parent theme to customize,
I would like to move on to customization with child themes,
After deleting the parent theme and adding the parent theme again, the child theme was activated.

The following message is displayed and you can no longer use the media library.

Error message displayed
Notice: add_submenu_page was called incorrectly. The seventh argument passed to add_submenu_page () must be an integer value indicating the menu position. See Debugging WordPress for details. (This message was added in version 5.3.0) in /home/mocomocomoco/mocomoco.press/public_html/wp-includes/functions.php on line 4903

I did a search to see if there was any precedent, but I didn't know the solution.

If anyone knows the solution, please reply.

  • Answer # 1

    Please be aware that this is a paid theme and can only be solved here by general questions. There is a support bulletin board on the SANGO side.

    First,

      

    Notice: add_submenu_page was called incorrectly. The seventh argument passed to add_submenu_page () must be an integer value indicating the menu position. See Debugging WordPress for details.

    means that add_submenu_page is set to something other than an integer.
    Therefore, please check and correct it.

    This is probably functions.php.

      

    (int) (Optional) The position in the menu order this item should appear.
      Default value: null
      Reference

  • Answer # 2

    When I contacted the SANGO author, I received a response that the plug-in was the cause.

    When "WP RSS Aggregator" was stopped, the error was improved.