PHP 8.4 Twig not working at the moment

This might already be known but just tested upgrades on some sites
Tested php 8.3 and can confirm this works as intended.

Tested with latest beta also

DC
{{dc:looper:field key=“title”}}
Works as intended

Twig
{{ looper.field({“key”:“title”}) }}
outputs the string as above

Thanks

This doesn’t seem to happen to me on PHP 8.4. Are you getting any errors? What were you looper over? Do you have a site I could look at?

Hmm it might have been a cache issuie as I think its fixed itself after looking again.

I think this is unrelated but seeing this in the Preview editor with debug swiched on on the latest beta php 8.4

Deprecated
: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in
/wp-content/themes/pro/cornerstone/includes/classes/Tss/Functions/IsGradient.php
on line 39

That warning should be fixed in beta3. Thanks for sending this my way.

Is there any other reason this may not work?

I just noticed the same: {{ looper.field({“key”:“value”}) }} doesn’t work but {{dc:looper:field key=“value”}} does.

Oddly it previews fine in builder but not on the front end.

This should be fixed in the release today. Has to do with the background image changes in 6.7.0. Let me know if you still have an issue after you upgrade.