Warning messages on /wp-admin/options-permalink.php
-
I’m using version 2.1 of your plugin. All errors come from the function ‘remove_taxonomy_base_slug__rewrite_taxonomy_filter’:
Notice: Undefined variable: taxonomy in D:\Camilo\Sandbox\projects\Cambara E.D\Torcedores.com\www\content\plugins\remove-taxonomy-base-slug\remove-taxonomy-base-slug.php on line 158
Notice: Undefined variable: taxonomy in D:\Camilo\Sandbox\projects\Cambara E.D\Torcedores.com\www\content\plugins\remove-taxonomy-base-slug\remove-taxonomy-base-slug.php on line 160
Notice: Trying to get property of non-object in D:\Camilo\Sandbox\projects\Cambara E.D\Torcedores.com\www\content\plugins\remove-taxonomy-base-slug\remove-taxonomy-base-slug.php on line 162
Notice: Trying to get property of non-object in D:\Camilo\Sandbox\projects\Cambara E.D\Torcedores.com\www\content\plugins\remove-taxonomy-base-slug\remove-taxonomy-base-slug.php on line 170
Notice: Trying to get property of non-object in D:\Camilo\Sandbox\projects\Cambara E.D\Torcedores.com\www\content\plugins\remove-taxonomy-base-slug\remove-taxonomy-base-slug.php on line 172
Notice: Trying to get property of non-object in D:\Camilo\Sandbox\projects\Cambara E.D\Torcedores.com\www\content\plugins\remove-taxonomy-base-slug\remove-taxonomy-base-slug.php on line 170
Notice: Trying to get property of non-object in D:\Camilo\Sandbox\projects\Cambara E.D\Torcedores.com\www\content\plugins\remove-taxonomy-base-slug\remove-taxonomy-base-slug.php on line 172
I have no custom taxonomies, so the plugin lets me choose to remove the taxonomy base for ‘post_tag’ and ‘category’, for which I chose only ‘category’. The variable ‘$taxonomy’ never gets set in line 153 and triggers all of the above warnings.
The topic ‘Warning messages on /wp-admin/options-permalink.php’ is closed to new replies.