I assume that the PHP version has been updated on my host, as 2 of the weather scripts I use have stopped working.
The first one is the 3 in 1 produced by Nordic Weather.
The page can be found here http://bearsbythesea.co.uk/wxsimforecast2.php
I noticed that the description and notes column had stopped being populated, and a large error log is on the server.
The initial error was [10-Jun-2017 11:07:28 Europe/London] PHP Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/bears498/public_html/wxsim_wxall/wxall.plaintext.php on line 481
I changed preg_replace to preg_replace_callback which appeared to resolve the missing column field, however I now have the following error
[10-Jun-2017 11:05:33 Europe/London] PHP Warning: preg_replace_callback(): Requires argument 2, ‘’. ’ . strtoupper(‘\1’)', to be a valid callback in /home/bears498/public_html/wxsim_wxall/wxall.plaintext.php on line 481
Any ideas guys?
Thanks.
Andy.