Can confirm our cloudways sites, with redis and op cache are the culprit. Doesnât seem that metabox has changed anything at all - but MB team has reached out to the OP Cache author.
Thank you sir.
I was also doing some back/old version testing and posted the results of it over on the Meta Box forum here:
Just saying.
Bolks if you clear your Cache after disabling Object Cache Pro (I am assuming you are using the Cloudways Breeze caching plugin), it should work.
I have extactly the same problem. Talked to my Hoster (Raidboxes) and asked them to disable the OP Cache, this did not resolve the problem. Also I dont use Cloudways (Raidboxes uses Hetzner Servers) and have no Object Cache Pro (or anything else) installed.
Confirm same problem here - hosted on Cloudways and disabling Object Cache Pro fixed the issue âŠ
I was in contact with Metabox Support, they told me Bricks is to be adresse regarding this problem:
âDo you use bricks builder to output the relationships? If yes, please contact Bricks support to get further assistance. The integration between Meta Box and Bricks is maintained on their side.â
@timmse can you take a look at this? I can provide a Staging Site Login.
FYI Metabox did get into contact with the Object Cache Pro Plugin Developer and they have a fix they are testing. They plan is to include it in the next version of MetaBox Full details here:
It works and allows you to reenable Object Cache Pro.
In summary you need to modify a bit of code in one of metaboxes files. The file is found here:
/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-relationships/inc/query
And the code change is here: (just 4 lines)
Thank you, Tom, was just about to mention it here, but you were faster
so, this will be in the next MB Core update and I DONâT have to add this code once that update is released, correct? this is just a hotfix?
That is my understanding. If it is not an issue for you just wait until the next update and the hotfix will be included.
Looks like this is fixed in the latest version of Meta Box AIO (v1.23.1) and Meta Box Relationships (v1.11.2) released today:
MB Relationships 1.11.2 â 2023-09-18
- Fix error when split query is true, occurs with recent update of Object Cache Pro.
Awesome! Thanks for confirming @d19dotca
Hi @dylanthinks,
As the issue described in this thread was resolved for most users, you might be running into another potential bug. So it would be best to create a new thread with reproducible steps so we can look into it.
The original issue this topic was for required a fix from Metabox that caused the issues which was the result of changes of how some queries are handled via Redis and WordPress.
I would recommend also reaching out to Metabox as well to see what they say.