Darren Ethier (nerrad)
Forum Replies Created
-
This should be resolved in the latest version of Organize Series (2.5.12)
This should be fixed in the latest version of Organize Series (2.5.12)
The latest version of Organize Series (2.5.12) will more gracefully fail in PHP 5.2 environments.
Just updated it today along with a few bugfixes. Thanks for posting your findings though 🙂
Hi there,
No this is a bug in Organize Series that pops up in PHP 7.1+ environments. It’s already been reported (not exact same case as you but same root cause) here.
This shouldn’t be a breaking bug (yet) as it is just a warning. However, it is on my radar to fix.
Thanks very much for the review. That definitely explains the issue.
__DIR__is something only available in php version 5.3+ which explains your issues. I’m going to have to take a look at more gracefully failing for people running PHP5.2.Thanks for the kind words 🙂
Very puzzling.
Are you able to look at the files in your
wp-content/pluginsfolder? If so, is there avendor/autoload.phpfile present? So if organize series is installed in the typical folder, you’d be looking forwp-content/plugins/organize-series/vendor/autoload.php.I just downloaded Organize Series from wordpress.org, unzipped it and I’ve verified that the file is present in the archive.
I am motivated to help you, but troubleshooting this is hard without knowing more information.
One thing you might want to try is completely deleting the plugin from your website and then reinstalling it. Do a database backup first, but deleting the plugin should no result in loss of data, its just a precaution you should always take for any plugin.
Hi there,
That definitely doesn’t sound good. There’s nothing in Organize Series that should cause it to deactivate on its own. Is there anything more you can tell me about things that might have been done recently on your site (WordPress update, other plugins updated etc)? Did you update Organize Series and then it deactivated after updating?
The error you got means that Organize Series is looking for a file it requires and is not able to load it. I’ve double-checked the plugin and it does definitely have that file.
Any further information you can give me will help me help you.
I’m sorry but there isn’t a “Series Post Limit Template” in the Organize Series Settings. Did you mean some other template?
Thanks for reporting. I’ve created a github issue here: https://github.com/roughsmoothengine/organize-series/issues/61
Just to clarify, are you using the classic editor or are you using Gutenberg?
So one thing that may be happening in your case is you have a custom series base value (this is set on the Series Options Page in the
Series Custom Baseoption). What do you have that option set to?I don’t think this is caused by Organize Series. I’ve checked a few sites I have running Organize Series and they all have the proper value for those attributes (which is
series). It sounds like you may have some custom code and/or a plugin conflict on your site causing this.ahh ok, glad you discovered it was due to custom code you added. I don’t provide free support for issues related to folks adding their own custom code (especially when its unrelated to customizing organize series). As a pointer though, it sounds like you are only wanting to affect the main query. So you’ll want to make sure you do a
$query->is_main_query()check in your conditional.