Website Fatal error when PHP upgrade to version 8

Posted in: Newspaper
Post count: 33

I am building website locally with “Local by Flywheel”.
I am facing a issue with the following “Fatal error”message:
This happened in PHP version 8.
In PHP version 7.4.1 works perfectly fine.

Fatal error

Fatal error: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in C:\Users\wongh\Local Sites\upf\app\public\wp-content\plugins\td-composer\legacy\common\wp_booster\td_css_res_compiler.php on line 571

Is there way to resolve this without reverting back to PHP version 7.4.1.

Post count: 33

I am building website locally with “Local by Flywheel”.
I am facing a issue with the following “Fatal error” message:
This happened in PHP version 8.
In PHP version 7.4.1 works perfectly fine.

Fatal Error

Fatal error: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in C:\Users\wongh\Local Sites\upf\app\public\wp-content\plugins\td-composer\legacy\common\wp_booster\td_css_res_compiler.php on line 571

Is there way to resolve this without reverting back to PHP version 7.4.1.

  • This reply was modified 4 years by honlim.
  • This reply was modified 4 years by honlim.
Post count: 21065

Hello @honlim!

I’ve checked this error. Please make sure you did not put any wrong value for any shadow in the TagDiv Composer.
Let me know the results!

Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.