Support

Home Forums Event Espresso Premium PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + float

PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + float

Posted: November 3, 2021 at 3:22 am

Viewing 3 reply threads


Edgar Antillon

November 3, 2021 at 3:22 am

I keep getting a critical error after attempting to save a message template.

The error is logged as “PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + float in /home/concealed/public_html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/FrameReflower/AbstractFrameReflower.php:288”

Followed by many more lines.


Tony

  • Support Staff

November 3, 2021 at 3:25 am

Hi there,

Looks like you are using PHP8 and the DOMPDF library we are using does not currently support it.

You can confirm the PHP version you are using if you go to Event Espresso -> Maintenance -> System Information.

Search for php_version there.

If you are using PHP8.XX you’ll need to switch down to PHP7 to prevent the above.


Edgar Antillon

November 3, 2021 at 3:45 am

Yeah. As I received the email about your reply, I switched back to php 7.4 and it is working fine now.


Tony

  • Support Staff

November 3, 2021 at 4:22 am

Great, I’m glad it’s working.

Any further issues just let us know.

Viewing 3 reply threads

The support post ‘PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + float’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso