Fatal Error After Last Update
-
After a custom post type which was working fine suddenly stopped, I had a dig around and found MCM was throwing an error.
PHP Fatal error: Uncaught Error: Call to a member function mcm_query_vars_add_values() on null in /home/username/public_html/wp-content/plugins/wp-media-category-management/include/taxonomy/class-WP_MCM_Taxonomy.php:215 Stack trace: #0 /home/username/public_html/wp-includes/class-wp-hook.php(308): WP_MCM_Taxonomy->mcm_pre_get_posts_front(Object(WP_Query)) #1 /home/username/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #2 /home/username/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #3 /home/username/public_html/wp-includes/class-wp-query.php(1870): do_action_ref_array('pre_get_posts', Array) #4 /home/username/public_html/wp-includes/class-wp-query.php(3787): WP_Query->get_posts() #5 /home/username/public_html/wp-includes/class-wp.php(663): WP_Query->query(Array) #6 /home/username/public_html/wp-includes/class-wp.php(783): WP->query_posts() #7 /home/username/public_html/wp-includes/functions.php(1334): WP->main('') #8 /home/username/public_html/wp-blog-header.php(16): wp() #9 /home/username/public_html/index.php(17): require('/home/username...') #10 {main} thrown in /home/username/public_html/wp-content/plugins/wp-media-category-management/include/taxonomy/class-WP_MCM_Taxonomy.php on line 215
Deactivating your plugin made my custom post type work again.
If there is something I can do to fix this, or if it’s something I have caused do let me know! Otherwise, I’ll have to keep MCM deactivated until yous have a chance to update your plugin.
Thanks!
PS: While I don’t know if this error existed prior to the last MCM update, it’s only since then that I’ve had conflicts with my custom post type.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Fatal Error After Last Update’ is closed to new replies.