Attempt to assign property "is_line_item" on bool

Hello,

I was just wondering if anyone else running Gravity Forms on PHP 8.1 has encountered this error?

PHP Fatal error: Uncaught Error: Attempt to assign property “is_line_item” on bool in /wp-content/plugins/gravityforms/includes/orders/factories/class-gf-order-factory.php:239

This seems to happen whenever I have the Stripe “Payment Amount” field set to anything other than “Form Total”.

I haven’t gone as far as to disable all plugins and use a default theme. However the sites hitting this bug are fairly lean and I can’t see any Gravity Forms specific filters that I think would be overriding this.

This happened on both the 5.0 and 4.3 Stripe plugins.

Are you using the Heartland Secure Submit plugin on any of the sites?

No not on these ones. I’ll need to do some more digging to try and narrow this down I guess.

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