Portsmouth Background

Fatal error: Cannot re-assign auto-global variable _FILES

How to fix Fatal Error

phpVMS 5 1 min read Updated 9 Nov 2026
Fatal error: Cannot re-assign auto-global variable _FILES in /home/myairline/public_html/phpvms/core/common/PilotData.class.php on line 436

Go to that file, /phpvms/core/common/PilotData.class.php and head on over to what line it says has an error. I’ve noticed that some versions of phpVMS have it on line 431, while the latest is on line 436, so see where it is. From the line that says has an error on the website you need to delete the following thing:

$_FILES

Now, that line should look like:

public static function saveAvatar($code, $pilotid) {


Get in Touch

We're here to help with your next project

Give us a call

Monday - Thursday 09:00 AM - 4:00 PM

Friday 09:00 AM - 3:00 PM

02392 982212

Send us a message

Send your message any time you want.

WhatsApp us!
Up to 30 min
Facebook Message us!
Up to 1 hour
Or

Email us

We typically respond within 24 hours.

services@creationweb.uk

Follow us on social media