Getting warnings when adding widgets to menu
-
The plugin works great, just need to get this notice go away, I sow you said to replace the label function (line 449 in index.php) but it did not work for me, any other idea’s ?
Thanks!
Notice: Undefined variable: _object in /Users/alonkatziri/Documents/Websites/www.lookstein.dev/wp-admin/includes/ajax-actions.php on line 1171
Call Stack
# Time Memory Function Location
1 0.0026 329984 {main}( ) ../admin-ajax.php:0
2 0.4820 56947928 do_action( ) ../admin-ajax.php:89
3 0.4820 56949464 call_user_func_array: ( ) ../plugin.php:525
4 0.4820 56949728 wp_ajax_add_menu_item( ) ../plugin.php:525( ! ) Notice: Trying to get property of non-object in /wp-admin/includes/ajax-actions.php on line 1175
Call Stack
# Time Memory Function Location
1 0.0026 329984 {main}( ) ../admin-ajax.php:0
2 0.4820 56947928 do_action( ) ../admin-ajax.php:89
3 0.4820 56949464 call_user_func_array:/wp-includes/plugin.php:525} ( ) ../plugin.php:525
4 0.4820 56949728 wp_ajax_add_menu_item( ) ../plugin.php:525
- The topic ‘Getting warnings when adding widgets to menu’ is closed to new replies.