Warning messages on /wp-admin/options-permalink.php
-
Hi Alexandru,
The plugin worked fine here except that I found some PHP warnings on /wp-admin/options-permalink.php right after activating it.
Warning: Attempt to assign property of non-object in http://domain.com/wp-content/plugins/remove-taxonomy-base-slug/remove-taxonomy-base-slug.php on line 169
By the way, I wrapped the whole foreach from line 166 to 177 (of remove-taxonomy-base-slug.php) with an if statement like this:
if ( ! is_wp_error( $terms ) && ! empty( $terms ) ) {
and it works fine now.I don’t know if you have a better solution there… then let me know.
Thank you for the plugin anyway!
The topic ‘Warning messages on /wp-admin/options-permalink.php’ is closed to new replies.