Plugin Author
Jose
(@giuse)
Hi @japenz
good idea. Please, if you have a staging environment try v. 2.0.0.beta-2 which you can find here:
You will find something that looks like “Any Product Categories (Products)” directly in the FDP main navigation under the menu item Archives.
Update the plugin from the page of plugins by clicking on Add New => Upload Plugins => Choose File, and confirm you want the new version.
If you don’t see the new FDP menu items, click on the triangle on the top right to expand the top admin bar, and then click on “Refresh FDP navigation”.
Please, let me know if it works, or if you have any suggestions to make it clearer.
Have a great day!
Jose
Thread Starter
JapeNZ
(@japenz)
Hi @giuse,
Thank you for getting back to me 🙂
So I tested the beta version, and ‘Any Product Categories’ is exactly what I was talking about, great job!
Having an ‘Any *’ for the archives, attributes etc will make things far more managable.
I did however receive a ‘Your Site is Experiencing a Technical Issue’ email from WordPress once the beta was active, here are the error details:
WordPress version 6.2.2
Active theme: Comic Book Shop Child (version 1.9.22)
Current plugin: Freesoul Deactivate Plugins (version 2.0.0.beta-2)
PHP version 8.2.7
Error Details
=============
An error of type E_ERROR was caused in line 20 of the file /nas/content/live/comicbookshop/wp-content/plugins/freesoul-deactivate-plugins/admin/fdp-admin.php.Error message: Uncaught Error: Failed opening required ‘/nas/content/live/comicbookshop/wp-content/plugins/freesoul-deactivate-plugins/admin/classes/abstracts/abstract-fdp-superclass.php’ (include_path=’.:/usr/share/pear/php:/usr/share/php’) in /nas/content/live/comicbookshop/wp-content/plugins/freesoul-deactivate-plugins/admin/fdp-admin.php:20
Stack trace:
#0 /nas/content/live/comicbookshop/wp-content/plugins/freesoul-deactivate-plugins/freesoul-deactivate-plugins.php(171): require()
#1 /nas/content/live/comicbookshop/wp-settings.php(406): include_once(‘/nas/content/li…’)
#2 /nas/content/live/comicbookshop/wp-config.php(125): require_once(‘/nas/content/li…’)
#3 /nas/content/live/comicbookshop/wp-load.php(50): require_once(‘/nas/content/li…’)
#4 /nas/content/live/comicbookshop/wp-admin/admin.php(34): require_once(‘/nas/content/li…’)
#5 {main}
thrown
I didn’t actually notice my site go down as a result of this error, but obviously receiving the warning made me revert back to the current stable version of your plugin.
Thanks again for your help 🙂
Plugin Author
Jose
(@giuse)
Hi @japenz
you are welcome!
If we consider version 2.0.0.beta-2, at line 20 of the file fdp-admin.php there is no call to the file abstract-fdp-superclass.php. Actually, the file abstract-fdp-superclass.php doesn’t exist in the FDP 2.0.0.beta-2 folder, and it’s never required by any file.
You can see here line 20 of fdp-admin.php of the beta version 2.0.0.beta-2.
Instead, the actual stable version requires that file at line 20 of the file fdp-admin.php. You can see here.
So, the error was surely caused by fdp-admin.php of the stable version 1.9.5.8, not by the beta version.
I don’t know how you updated the plugin, but I suspect the error was caused while the files of the plugin were transferring, and you still had fdp-admin.php of the stable version, but the file abstract-fdp-superclass.php didn’t exist anymore. That file exists only in version 1.9.5.8.
If you have all the files of the beta version, or all the files of the stable version, you should not have any problem. But if you have a mix of them, even if it’s only temporary, you have issues.
I hope it helps.
Have a great day!
Jose
Thread Starter
JapeNZ
(@japenz)
Hi @giuse,
Right okay, yeah that would make sense.
I updated the plugin to the beta by manual upload replacing the existing stable plugin, which would explain why they were both briefly there and caused the error.
Thanks again for your help!
