WIP: Undefined property warning in bricks builder

Browser: FireFox dev edition 142.0b9
OS: Windows 10
URL: http://localhost:8883/?page_id=2&bricks=run

I’m getting the following error in the builder: Undefined property: stdClass::$meta_key in /var/www/html/wp-includes/class-wp-list-util.php on line 168. It’s a local site running in Studio (WordPress Studio Docs - Free Local Development Tool), which does not have an SSL cert installed.

It does not seem to be the same as the other recently reported bugs related to class-wp-list-util.php as it is not from the same line number and relates to a class property, not an array key.

Notably, WP_DEBUG is set to false. However if I set it to true but set WP_DEBUG_DISPLAY to false, the error is not displayed.

The content of debug.log is:

[13-Aug-2025 20:27:14 UTC] PHP Warning:  Undefined property: stdClass::$meta_key in /var/www/html/wp-includes/class-wp-list-util.php on line 168
[13-Aug-2025 20:27:14 UTC] PHP Deprecated:  substr(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-content/themes/bricks/includes/integrations/dynamic-data/providers/provider-wp.php on line 500
[13-Aug-2025 20:27:14 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-content/themes/bricks/includes/integrations/dynamic-data/providers/provider-wp.php on line 365
[13-Aug-2025 20:27:16 UTC] PHP Warning:  Undefined property: stdClass::$meta_key in /var/www/html/wp-includes/class-wp-list-util.php on line 168
[13-Aug-2025 20:27:16 UTC] PHP Deprecated:  substr(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wp-content/themes/bricks/includes/integrations/dynamic-data/providers/provider-wp.php on line 500
[13-Aug-2025 20:27:16 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-content/themes/bricks/includes/integrations/dynamic-data/providers/provider-wp.php on line 365
1 Like

Hi @squarestar,

can you test by disabling all plugins and custom scripts? Only keep Bricks active.

Please let me know if it’s still happening. If it’s not, please enable plugin by plugin, so that we narrow down what it could be.

Thank you,
Matej

The issue occurred in a fresh site with any default plugins removed and no custom scripts.

I see. Do you always use WordPress Studio for local development? Have you tried any other local dev environments and you were able to replicate it there as well?

If not, I’ll try with WordPress Studio (I have to install it, never worked in it), but please let me know what I need to do to replicate this. Only install Bricks and open the editor?

Thank you,
Matej

Thanks Matej.

I started using Studio recently so I don’t have many experiences to compare with. I do have a local WAMP set up and when I loaded the site through that I did not see the error, so it seems specific to Studio.

If you are going to test in Studio yourself, to replicate it you just need Bricks installed and go to edit a page. I can send you my settings config if you like.

Hi @squarestar,

thank you so much. I’ve installed WordPress Studio on my local computer, and I was able to replicate the issue just by installing Bricks. I’ve created an internal task for this.

I usually use LocalWP or Laragon for local work, and issues like this do not exist there. Especially LocalWP is simple as well. :slight_smile:

Best regards,
Matej

1 Like

Hi @Matej,

I jump in to say that I had the same issue using WordPress Studio.

After having the same issue on Studio, I tested on a free staging site directly on WordPress.com to see if it was related to all products of automattic and I had issues as well using bricks (when I created a new page and clicked on “edit with bricks” I arrived on a blank page and was stuck on that blank page). After that I tested on a staging and production environment on pressable (other automattic hosting service) and there, everything went fine.

I also used local WP, devkinsta and other local docker wp environments and never had a problem.

Don’t know if it helps but I thought it was worth noticing it!

Thank you and have a great day!
Ben

Hi @Bendd and welcome to the community!

Thank you for your report and tests. Yep, there is something with WP Studio that triggers those errors, and we will investigate what it is.

For now, I suggest that you (or anybody else) use some other development environment, like Local WP, DevKinsta, or others, that will not cause this issue.

Thank you for understanding,
Matej

1 Like

Thanks Matej. Just a reminder for anyone that really wants to use Studio, for whatever reason - you can set WP_DEBUG = true and set WP_DEBUG_DISPLAY = false to fix the error display in Studio.

Yep, that’s also a workaround, but it’s important to note that this will hide the error (not display it), but it will still be there.

Was there any progress on this issue? I installed Bricks on a WordPress Studio site, got the same error, and Google led me here.

Not yet. Task is still WIP (= Work In Progress)

Matej

This is also happening for me while attempting to use a newly created WP site on studio. I really hope you can figure out what is causing this. I have grown to like studio and would like to use it but this makes it very difficult.

This issue needs more attention!