briancbeers
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Fatal error: Class WP_Taxonomy not found in taxonomy.php line 384I followed through on disabling the theme and using the default theme.
I went in and did this before I ran the update.
I was on the twentysixteen theme, and the update ran, but then it broke on the about pagehttp://domain.name/wp-admin/about.php?updated
The problem is that line 384 is trying to create a new class, and that class doesn’t exist…But based on the code it actually does exist.
I updated PHP to 7.0 from 5.4, but this evidently wasn’t the problem either.
I got a more thorough error message:
Stack trace:
#0 /home1/username/domain/wp-includes/taxonomy.php(72): register_taxonomy(‘category’, ‘post’, Array)
#1 /home1/username/domain/wp-config.php(312): create_initial_taxonomies()
#2 /home1/username/domain/wp-load.php(37): require_once(‘/home1/username…’)
#3 /home1/username/domain/wp-admin/admin.php(31): require_once(‘/home1/username…’)
#4 /home1/username/domain/wp-admin/about.php(10): require_once(‘/home1/username…’)
#5 {main}
thrown in <b>/home1/username/domain/wp-includes/taxonomy.phpSo the issue is still unresolved.
Forum: Fixing WordPress
In reply to: Fatal error: Class WP_Taxonomy not found in taxonomy.php line 384I had disabled all plugins before rolling back to 4.6.6, but it made no difference.
I will try disabling the theme tomorrow, but I am both sceptical and horrified that a bit of code in a theme might be the cause of a compilation error in the WordPress core.