The plugin generates errors when switching the server to PHP 8.0.
From error.log:
[25-Jan-2022 15:14:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /home/myaccount/public_html/wp-content/plugins/simple-taxonomy/simple-taxonomy.php:83
Stack trace:
#0 /home/myaccount/public_html/wp-includes/class-wp-hook.php(303): init_simple_taxonomy('')
#1 /home/myaccount/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#2 /home/myaccount/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#3 /home/myaccount/public_html/wp-settings.php(441): do_action('plugins_loaded')
#4 /home/myaccount/public_html/wp-config.php(109): require_once('/home/myaccount/...')
#5 /home/myaccount/public_html/wp-load.php(50): require_once('/home/myaccount/...')
#6 /home/myaccount/public_html/wp-blog-header.php(13): require_once('/home/myaccount/...')
#7 /home/myaccount/public_html/index.php(17): require('/home/myaccount/...')
#8 {main}
thrown in /home/myaccount/public_html/wp-content/plugins/simple-taxonomy/simple-taxonomy.php on line 83
[25-Jan-2022 15:14:14 UTC] PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /home/myaccount/public_html/wp-content/plugins/simple-taxonomy/simple-taxonomy.php:83
Stack trace:
#0 /home/myaccount/public_html/wp-includes/class-wp-hook.php(303): init_simple_taxonomy('')
#1 /home/myaccount/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#2 /home/myaccount/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#3 /home/myaccount/public_html/wp-settings.php(441): do_action('plugins_loaded')
#4 /home/myaccount/public_html/wp-config.php(109): require_once('/home/myaccount/...')
#5 /home/myaccount/public_html/wp-load.php(50): require_once('/home/myaccount/...')
#6 /home/myaccount/public_html/wp-blog-header.php(13): require_once('/home/myaccount/...')
#7 /home/myaccount/public_html/index.php(17): require('/home/myaccount/...')
#8 {main}
thrown in /home/myaccount/public_html/wp-content/plugins/simple-taxonomy/simple-taxonomy.php on line 83
]]>
Hello,
Your main plugin file (simple-taxonomy.php) line 83:
add_action( ‘widgets_init’, create_function(”, ‘return register_widget(“SimpleTaxonomy_Widget”);’) );
uses create_function which by php7.2 is deprecated and logs many warnings.
would you be kind enough to change that?
I’m actually am uncertain why you had to use that, and not just create a static function as register_widget is a global function which is usually available so you shouldn’t need a create_function to call it.
If by some chance I missed the reason, you might try an anonymous function instead…
thank you in advance!
]]>So, this plugin still kind of works, but there isn’t a way to add tags to your customized taxonomy with the new Gutenberg editor. You have to add them from the “Posts” directory.
I don’t know if there is any way to salvage my custom taxonomy as is since it seems to rely on this plugin being active to even use.
Anyone have solutions here? Should I just convert all those terms to normal Tags before something more catastrophic happens to the plugin?
]]>Hello,
I am looking to pull specific lists of custom types within the post directly. I have tried for weeks but can’t find the solution.
So I want to be able to be like Colors: navy blue, gold, black (the ones that have been associated with the post)
How do I do this?! Thanks
]]>Can you update that plugin?
This plugin hasn’t been updated in over 3 years.
Hi,
How could we translate our custom taxonomy and term and the description wiht WPML?
thank you
]]>Hello,
This plugin seems tot do exactly what i’m looking for. It isn’t updated for a long long time however. Does this mean it is abandoned or is it still fully compatible with WP 4.4.1?
Regards,
Petran
The plugin doesn’t work with new version of wordpress 4.3.1
]]>Hi,
I’m trying to create a taxonomy template for my Custom Taxonomy.
I created a custom taxonomy named ‘authors’. I put the term value on my single page and it seems to work.
But when I click on one ‘authors value’ the page I see is “Not Found”.
What am I supposed to do?
Thank you in advance
]]>Hello,
I use wordpress 4.1 and the genesis framework.
I like this plugin but I can’t get the taxonomies to show in the post.
I configured this in the settings though. I choose show in content and exerpt.
Is there a way to fix this?
Kind regards,
Jeroen
]]>I’ve inherited a website using Simple Taxonomy.
I used it to add a custom taxonomy called customtax.
Then I added a term called customterm.
I assigned several posts to customterm.
When I try to navigate to:
https://www.mywebsitename.com/?customtax=customterm
-> I would expect some results but I just get a 404 error.
What am I doing wrong? If I should be using a different plugin (instead of this one), could you tell me which one? Thank you.
]]>Hi
The plugin pushes the table on the product display page on the dash in woo commerce. How can i fix this?
Thanks
]]>Why it show always “15” terms on dashboard instead of real number of terms?
This number “15” is hardcoded in plugin, but there is must be function that count terms. How to replace it?
]]>The first call to is_admin() that includes the required libraries could be grouped with the second call, that instanciates them. This is because some major plugins rely on is_admin() to determine if a user should be allowed to update a plugin, and that created a conflict with ManageWP Worker, so the ManageWP Worker plugin switches that value back to “true” after it loads. That results in a fatal error when Simple Taxonomy is used with ManageWP worker (Fatal Error (E_ERROR): Class ‘SimpleTaxonomy_Admin’ not found).
]]>Hi,
My original Tags taxonomy works, yet the custom taconomies I built with the plugin aren’t working out. When a term is clicked I’m brought to “/*taxonomy*/*term*/” which all give me 404 errors.
I’m aware that I’m running a theme that has not been updated in 4 or so years, so if this may be a theme deficiency I’d really like to make the updates to this one that are needed. It’s a brilliant theme and will choose it over the taxonomies.
Thanks folks
]]>Older custom taxonomies work, some newer don′t ??
https://7zoller.de/wer/teenage-love-guns/ fine!
https://7zoller.de/wer/green-room-rockers/ bad :-/
Any ideas?
]]>Hallo sir, I want to ask how to display the taxonomy?
like this
picture
Hello,
I need to create a separate section for adding sub categories, but it should function same as the categories-> subcategories as the default feature in WordPress. I just want to create a new section for subcategories. Only, the drop down, which is listed for this needs to be changed. The concept is, the new taxonomies should get inserted into the existing tables for categories. For that, I installed the plugin “simple taxonomy” , and created taxonomies under it. It is showing as separate link, we can add, as well as modify. But the issue is, the taxonomies which are added using this, is not listing under general category list. Also, we cant add posts for this new taxonomies.
Please suggest a method for implementing this..
Regards,
Monisha
Hello there,
I have just created a new taxonomy called artist,
i have problem with urls,
gives 404 error in this structure;
/artist/artist-name
but works with this structure;
/?artist=artist name
Do you have any suggestions to solve that?
Thanks
]]>Like always, simple taxonomy doesn′t work after a wp update ;-/
Displays a 404 Error …
Hello,
I’m using this wonderful plugin along with Custom Content Types Manager.
All is working superbly, except one thing I can’t get to work: filtering custom post type by custom taxonomy in edit post screen.
how to do it correctly?
]]>Is there a way to translate the categories with WPML?
]]>Thanks for this plugin .. it’s really useful, and I’m raising this more “for your information” than an actual gripe!
I’m not actually 100% convinced this relates to the “Simple Taxonomy” plugin, but of course although the functionality I’m talking about goes away when I deactivate it, the custom taxonomies I use it on do too, so …
When converting one taxonomy to another through the ‘bulk actions’ drop-down menu the facility is repeated at both the top and bottom of the list. If you use the facility at the top it works fine. If you use the one at the bottom, it doesn’t work. Not a significant issue, once you’re aware, just thought I should mention it in case you didn’t already know.
(Apologies if I’ve got it wrong, and this functionality is nothing at all to do with your ‘Simple Taxonomy’ plugin.)
]]>Would it be possible to add a field in the “Rrewrite URL” section to allow for enabling/disabling the “with_front” parameter for rewriting?
I.E. if my Settings > Permalinks are set up to prepend ‘/blog/’ before everything in the site, it would be useful to turn that prefix off on a per-taxonomy basis.
(For anyone with the need for a fix currently, it can be achieved globally by editing the inc/class.client.php file and setting with_front=false.)
]]>Hi there
It doesn’t work.
Call to a member function prepareArgs() on a non-object in simple-taxonomy\inc\class.admin.php on line 745
Hi there
I suppose “Auto add terms” should add taxonomies in homepage or/and posts but it doesn’t work. I tried with another plugin that displays them.
Please guide me to be able to display the taxonomies on posts.
Best regards
]]>Hi, Amaury! Thank you for this plugin, I love it.
Question: I have been receiving this PHP error for months:
‘ Illegal offset type in isset or empty in /*/*/public_html/wp-includes/taxonomy.php ‘
It was always on line 72. Yesterday I installed Multisite, the error is still here but now it is on line 231 (lol) so I decided it’s time to ask you!
The line is ‘ return isset( $wp_taxonomies[$taxonomy] ); ‘
Can you help? Merci.
]]>The current version of Simple Taxonomy has a mistake where the number “15” is hard-coded as the count for custom taxonomies in the dashboard’s “Right Now” panel.
To fix this, add the following code:
before line 36 of inc/class.admin.php
$terms = get_terms($taxonomy['name'],array('hide_empty'=>false));
and in place of line 38 of inc/class.admin.php (the line with 15)
<td class="first b b-<?php echo $taxo->name; ?>"><a href="edit-tags.php?taxonomy=<?php echo $taxo->name; ?>"><?php echo count($terms); ?></a></td>
Hi,
Thanks for the great plugin but please let me deactivate the admin columns you automatically add to the post types I apply the taxonomy to.
I’m using the Codepress Admin Columns and it fucks the order in which I want them to appear. I’d like it to be optional.
Thanks in advance.
]]>Hi Amaury
I want to show a Simple Taxonomy metabox in an Add New Post admin page, but only display it if a particular term has been selected in a separate Taxonomy.
The idea is that one box will select a Make of car (Ford, Toyota, etc), and depending on the choice, a second taxonomy will appear to pick the exact Model.
I understand that this will need some extra coding, but as I’m pretty new to this, I wonder if you can give me an idea of where to start?
Any help or guidance would be very welcome!
Thanks
Graham