E_ERROR trying to rename taxonomy slug
-
When I try to rename the taxonomy slug on the site, this error is returned:
“An error of type E_ERROR was caused in line 85 of the file /wp-content/plugins/simple-taxonomy-refreshed/includes/class-simpletaxonomyrefreshed-admin-rename.php. Error message: Uncaught Error: Cannot use object of type WP_Taxonomy as array in /home/withavoi/public_html/ipn/wp-content/plugins/simple-taxonomy-refreshed/includes/class-simpletaxonomyrefreshed-admin-rename.php:85”
And the code that’s returning the error is:
if ( (bool) $taxonomy_obj['rewrite'] ) { if ( '' !== $new_rewrite && $new_rewrite !== $new_taxonomy['st_slug'] ) { // update options. $new_taxonomy['st_slug'] = $new_rewrite; // need a flush of the rewrite rules at next init. set_transient( 'simple_taxonomy_refreshed_rewrite', true, 0 ); } }
I don’t know what I’m looking at, I just know how to find it. Any help would be greatly appreciated.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘E_ERROR trying to rename taxonomy slug’ is closed to new replies.