Fatal error: Class WP_Taxonomy not found in taxonomy.php line 384
-
I see that this error happened for a few people on 4.7, and I tried the solutions suggested.
1) Replacing wp-settings.php
2) Manually updating the site. This means deleting folders wp-admin and wp-includes, and every file except wp-config.php. Then uploading them again via FTPThese did not fix the error.
I also edited wp-settings.php swapping lines 193 & 194
require( ABSPATH . WPINC . ‘/taxonomy.php’ );
require( ABSPATH . WPINC . ‘/class-wp-taxonomy.php’ );changing them to
require( ABSPATH . WPINC . ‘/class-wp-taxonomy.php’ );
require( ABSPATH . WPINC . ‘/taxonomy.php’ );The logic for this is that perhaps Class WP_Taxonomy had to be declared before it could be used in taxonomy.php.
But this didn’t work either.
At this time I have restored from my backup, and the site is running on 4.6.6.
The topic ‘Fatal error: Class WP_Taxonomy not found in taxonomy.php line 384’ is closed to new replies.