Ahh okay, got the issue.
Go to phpvms_aircraft table -> Structure -> Select these two columns : 'airline' and 'location' -> CLick on change at the bottom -> Set Default for both as NULL in the dropdown.
That should solve the issue.
Oh sorry
So regarding the error you are getting, have you imported the fltbook.sql file in your database?
If yes, make sure, you have a column name 'location' in the phpvms_aircraft table.
Hello,
You can show the code in `PIREPData.class.php`
The `FltbookData.class.php` does not contain any class such as `updateAircraftLocation()`
Reference : https://github.com/web541/phpVMS-FltbookSystem/blob/master/core/common/FltbookData.class.php