Moderators mark1million Posted March 1, 2010 Moderators Report Posted March 1, 2010 Hi, i have just noticed the following error when filing a manual pirep, Warning: Invalid argument supplied for foreach() in /srv/www/easyjetva.com/public_html/core/common/LandingstatsData.class.php on line 23 I take its because there is no value going into that field, what would be the best option to fix this, im thinking allow null in the database? Or is there something else that would do it. Quote
TennShadow Posted March 1, 2010 Report Posted March 1, 2010 Hi, i have just noticed the following error when filing a manual pirep, Warning: Invalid argument supplied for foreach() in /srv/www/easyjetva.com/public_html/core/common/LandingstatsData.class.php on line 23 I take its because there is no value going into that field, what would be the best option to fix this, im thinking allow null in the database? Or is there something else that would do it. I'm having the same issue. To add to this I get this error when FSFK opens the PIREP page after it submits it to the database. Quote
Moderators mark1million Posted March 1, 2010 Author Moderators Report Posted March 1, 2010 I have just done a bit of testing and on my test site i dont get the error, the only difference i can see is i still have the old column in the pireps field landing_rate, maybe this is it. Quote
Administrators Nabeel Posted March 1, 2010 Administrators Report Posted March 1, 2010 Are you on the beta? That's from the landingstats addon which isn't needed anymore as of the last release Quote
Moderators mark1million Posted March 1, 2010 Author Moderators Report Posted March 1, 2010 ah yes i am, so do i just remove that module and call for the stats the normal way? <?php echo StatsData::landingstats(); ?> Quote
Administrators Nabeel Posted March 1, 2010 Administrators Report Posted March 1, 2010 There's probably a hook in there, I'd check the addons forum for that topic there, it might have been updated... I'm not sure Quote
Moderators mark1million Posted March 1, 2010 Author Moderators Report Posted March 1, 2010 I'm having the same issue. To add to this I get this error when FSFK opens the PIREP page after it submits it to the database. Just remove that line in the common/LandingstatsData.class.php, problem goes away, well for me anyhow. Quote
CN@ndo Posted April 22, 2010 Report Posted April 22, 2010 Hello friends. I did not find the file Core / Common / LandingstatsData.class.php you can put the script file. I look Quote
MrAmsterdam Posted May 3, 2010 Report Posted May 3, 2010 I dont have the landingstats file as well.... any solution how to get this? Quote
Administrators Nabeel Posted May 3, 2010 Administrators Report Posted May 3, 2010 The addons forum Quote
MrAmsterdam Posted May 3, 2010 Report Posted May 3, 2010 Yeah, i know but i don't know where to start. The files aren't there to download... and i dont have the files on my ftp server..... i read the landing stats topic a hundred times but i just don't know where to start :-( Sorry Nabeel... :-( Quote
Administrators Nabeel Posted May 3, 2010 Administrators Report Posted May 3, 2010 What's the problem? Since you don't have that module, you shouldn't be getting the error that's here Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.