PHP Warning When Using Gravity Forms Filter

Hi there,

We are using the Gravity Forms code snippet (i.e., filter), noted here. Unfortunately, it’s triggeting the following PHP warnings:

[15-Oct-2024 17:40:08 UTC] PHP Warning: DOMDocument::loadHTML(): error parsing attribute name in Entity, line: 1 in /home/customer/www/mysite.com/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()'d code on line 34
[15-Oct-2024 17:40:08 UTC] PHP Warning: DOMDocument::loadHTML(): Tag xml invalid in Entity, line: 1 in /home/customer/www/mysite.com/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()'d code on line 34

We are using the above code snippet with PHP 8.4.0.

Fix appreciated.

Thank you!

Jonathan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.