WAIT: PHP Warning when pop-up template is in a query loop

I have Bricks 1.8.6. but the bug is also in the earlier versions. Whenever I insert pop-up Template in a query loop, this warning shows up. I tried version without interactions and it still does it. Please provide a fix ASAP.

Warning: Undefined array key “id” in /Users/jiripaulas/Local Sites/maser/app/public/wp-content/themes/bricks/includes/assets.php on line 2705


SnĂ­mek obrazovky 2023-08-15 v 16.23.40

I’m unable to reproduce the issue locally. I guess your site is local as well so it would be great if you can share more details that would help me recreate this as well.

Thank you!

Best regards,
Charaf

I use Local by Flywheel
Bricks 1.8.6
PHP 8.0.0
MYSQL 8.0.16
Apache/2.4.43 (Unix)
Wordpress version 6.3

Active Plugins
Advanced Custom Fields (6.2.0) by WP Engine
Automatic.css (2.6.1) by Kevin Geary, Matteo Greco
Frames (1.3.0) by Kevin Geary, Matteo Greco

Hi @jiripaulas,

Unfortunately, neither me nor my teammate could reproduce the issue. If you’re able to share access to a live version of the site to help@bricksbuilder.io so we can take a look, that would be great!

I would also try deactivating all plugins to see if they’re causing the warning.

Thank you.

Best regards,
Charaf

Yes, I will have an online wp instance with this problem for you. Just give me a few days :slight_smile:

1 Like

I’ve sent you an email with credentials. Check it out.

Any resolution or details on this one?

Yes, this was the solution

1 Like

Ahhh awesome! Thanks I’ll take a look. So does this mean that it’s not possible to use any dynamic data on the “card” or object in order for the nested popup to work?