• Resolved jalev

    (@jalev)


    When enabling PHP 8.03 I am getting the following fatal error (while going back to php 7 everything works great):

    AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /wp-content/plugins/wp-forecast/func_accu.php:269\nStack trace:\n#0 /wp-content/plugins/wp-forecast/func_accu.php(269): round()\n#1 /wp-content/plugins/wp-forecast/wp-forecast.php(351): accu_forecast_data()\n#2 /wp-content/plugins/wp-forecast/wp-forecast-show.php(150): wp_forecast_data()\n#3 /wp-content/plugins/wp-forecast/wp-forecast-show.php(102): show()\n#4 {main}\n thrown in /wp-content/plugins/wp-forecast/func_accu.php on line 269’

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tuxlog

    (@tuxlog)

    Hello jalev,

    thank you for this hint. I just released wp-forecast 7.1. which should fix it.
    At least it works on my PHP8 installation. ??

    Cheers.

    Thread Starter jalev

    (@jalev)

    works perfect for me too, thanks for the quick update!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP8 Problem’ is closed to new replies.