Hi all,
I am an happy user of Saratoga template (World Template, 29 Nov 2021 updated), but lastly I am having a trouble with language switch.
It’s in italian by default, when I switch to english, I see value changing in english for half second, then they are restored in italian by theirselves.
I never had this problem in more than 10 years of operation (and installations from scratch or updates) with Saratoga World Template.
here my site where you can see the problem by click on UK flag (only values in Forecast box works stable): https://quartumeteo.jstarsidea.com/
Any help is really welcome.
I am a developer, no problem for technical suggestions.
I think that your hoster had built a PHP program, and just forgot to configure it to have $_GET and $_POST populate to $_REQUEST global variable. Your local setting overrides their nil default, and so restores the functionality that should have been there from the beginning.
Thank you for reminding me about the PHP 8 ‘gotcha’ with ‘split’ being removed from PHP 8 – I’ve updated the Base-* header.php scripts to fix that too. Some older 3rd party scripts may be using ‘each’ (which is also removed from PHP 8 ) and all the old constructs like
while (list($key,$var) = each($array)) {
need changing to
foreach ($array as $key => $var) {
. I’ve checked all the Saratoga current scripts and think I’ve fixed all those that needed updates.