Php 5.4 error

ok, so my server was updtate to PHP 5.4

now i get Cannot re-assign auto-global variable _FILES

I understand this is due to PHP 5.4, and I have read there are workarounds somewhere, but I cannot find any information on this forum on how to fix it. Does anyone have any ideas what needs changing to fix this issue

is there a file and line number that the error refers too?

Fatal error : Cannot re-assign auto-global variable _FILES in /home1/ukmilorg/public_html/vms/core/common/PilotData.class.php on line 436

that seems to have got the site working but not when I approve a Pirep I get

Strict Standards : Non-static method PilotData::generateSignature() should not be called statically, assuming $this from incompatible context in /home1/ukmilorg/public_html/vms/admin/modules/PIREPAdmin/PIREPAdmin.php on line 316

Open admin/action.php

Find

error_reporting(E_ALL ^ E_NOTICE);

Replace with

ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);

thanks, that fixed that. Now when I Bid for a flight, i get

Strict Standards : Non-static method SchedulesData::setBidOnSchedule() should not be called statically in /home1/ukmilorg/public_html/vms/core/common/SchedulesData.class.php on line 853

Bid added

pm me your email?

Simple fix, Down grade your php version back to 5.3, phpvms doesn’t like the newer versions , I’ve run into this many times.

Lock your CGI script (php version to 5.3).

Nice to have the upgrades, but my main stay on my domain is phpvms, I don’t need upgrades, hope this helps you.

Jim