Support » Plugin: Select All Categories and Taxonomies, Change Checkbox to Radio Buttons » Removing/changing taxonomy while defined in the plugin throws PHP warnings

  • I changed one of my taxonomies slug and when loading the dashboard I get greeted with the following PHP warnings (2 per taxonomy)

    
    ( ! ) Notice: Trying to get property of non-object in /home/*****/domains/example.com/public_html/wp-content/plugins/select-all-categories-and-taxonomies-change-checkbox-to-radio-buttons/controllers/moove-metabox-manipulator.php on line 18
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0006	405648	{main}( )	.../index.php:0
    2	0.0010	449128	require_once( '/home/*****/domains/example.com/public_html/wp-admin/admin.php' )	.../index.php:10
    3	0.4521	36703072	require( '/home/*****/domains/example.com/public_html/wp-admin/menu.php' )	.../admin.php:138
    4	0.4563	36786504	require_once( '/home/*****/domains/example.com/public_html/wp-admin/includes/menu.php' )	.../menu.php:283
    5	0.4610	36788680	do_action( )	.../menu.php:149
    6	0.4610	36789056	WP_Hook->do_action( )	.../plugin.php:453
    7	0.4610	36789056	WP_Hook->apply_filters( )	.../class-wp-hook.php:323
    8	0.4641	36825216	Moove_Metabox_Manipulator->moove_meta_box_functions( )	.../class-wp-hook.php:298
    

    Not a big deal since disabling WP_DEBUG will probably hide those. I fixed it by updating the plugin settings in the database and changing the slug there manually.

  • The topic ‘Removing/changing taxonomy while defined in the plugin throws PHP warnings’ is closed to new replies.