NO BUG: Metabox Relationship Queries Stopped Working in Bricks

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.

2 Likes

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.

1 Like

Hey @FranklyCo,

thanks a lot for the confirmation.

Best,

André

1 Like

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.

1 Like

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.

1 Like

Hi @philipp

Please send your issue and details to help@bricksbuilder.io

Regards,
Jenn

1 Like

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)

1 Like

Thank you, Tom, was just about to mention it here, but you were faster :sweat_smile:

2 Likes

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.
2 Likes

Awesome! Thanks for confirming @d19dotca :metal:

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.

1 Like

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.

1 Like