php notice in wp-admin with WP 5.3.0 (debug mode)
-
Hey there,
I just updated to WP 5.3.0 in my local development environment, testing with your theme.
There are some php notices and warning in admin screen, referring to function atomic_blocks_theme_getting_started_menu():Notice: add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be an integer representing menu position. Please see <a href="https://www.ads-software.com/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in [...]/wp-includes/functions.php on line 4903 Call Stack # Time Memory Function Location 1 0.0005 425192 {main}( ) .../options.php:0 2 0.0008 472592 require_once( '[...]/wp-admin/admin.php' ) .../options.php:19 3 0.2802 36388424 require( '[...]/wp-admin/menu.php' ) .../admin.php:153 4 0.2844 36467192 require_once( '[...]/wp-admin/includes/menu.php' ) .../menu.php:326 5 0.2886 36469400 do_action( ) .../menu.php:155 6 0.2886 36469776 WP_Hook->do_action( ) .../plugin.php:478 7 0.2886 36469776 WP_Hook->apply_filters( ) .../class-wp-hook.php:312 8 0.2958 36568056 atomic_blocks_theme_getting_started_menu( ) .../class-wp-hook.php:288 9 0.2958 36568056 add_theme_page( ) .../getting-started.php:56 10 0.2958 36568056 add_submenu_page( ) .../plugin.php:1505 11 0.2959 36568752 _doing_it_wrong( ) .../plugin.php:1385 12 0.2960 36569584 trigger_error ( ) .../functions.php:4903
…followed by three warnings (headers already sent), probably consequential warnings from above.
Please inform your developers to fix that in next version.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘php notice in wp-admin with WP 5.3.0 (debug mode)’ is closed to new replies.