Jump to content

Recommended Posts

Posted

Hi, I am trying to file a pirep at my VA, but I keep getting the following error:

Deprecated: Non-static method CodonEvent::hasStop() 
should not be called statically, assuming $this from incompatible context in /core/modules/PIREPS/PIREPS.php on line 478

How do I fix that problem as I am unable to file thus others will be unable, it I think is causing a problem for smartcars too, as it wont file the pirep.

  • Administrators
Posted (edited)

I'm guessing you fixed the first error by changing CodonEvent.class.php line 104 (for version 5.5.2) from public function to public static function....

What version of phpVMS are you using?

Have you tried using kACARS_Free to see if the same issue occurs?

Anything in the error log on the Admin side?

Edited by ProAvia
Posted

That has gotten that error gone, but the pirep still doesn't submit. It is telling me the schedule doesn't exist now, even though the schedule does exist. And it seems to be accepting pireps from smartcars and my custom kacars, but the pirep does not show in the admin or the db. It is triggering the a pirep has been submitted email but nothing shows. The php version my server is using is 5.6, I can go back to 5.4 but that doesn't seem to help.

  • Administrators
Posted

phpVMS version? SimPilot 5.5.2 or something else?

I'm not sure why it is submitting the PIREP (email of submittal being received) and not showing in the DB.

I'm using 5.5.2, kACARSII custom, php 5.6.18 and haven't had any issues. Maybe something with the DB or possibly one of the associated files.

Posted

Simpilot 5.5.2 I litteraly just transfered the files and db over from the backup I got before my last host closed up shop. I am not sure it is reading the DB, as if I try manually from a bid it says the schedule doesn't exist, but it does.

  • Administrators
Posted

Have you tried installing a fresh copy along side your existing one? Maybe make a copy of the DB and tie that copy to the new install - after making sure the new install works with a fresh DB.

  • Administrators
Posted

File permissions issue?

Host settings issue? - I'm leaning to your host. It worked on old host and now doesn't on new host. I have no idea what to search for or what to ask them though.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...