Jump to content

Recommended Posts

Posted

Good morning everyone, from the administration panel, PIREPs get the following error

Warning: Creating default object from empty value in /customers/f/9/1/easyfsxitaliavirtual.net/httpd.www/it/core/common/PIREPData.class.php on line 337

Thanks for a possible answer ... best regards

Posted

It looks like another strict standards error, add static to the beginning of the function containing that line.

Although, that kind of issue would produce more than just one error. Do you have more errors elsehwere on your admin panel or main site?

  • Administrators
Posted

What are you running for a version of phpVMS? I do not get this error running the one of of github or my version, both running on php 5.5.12.

Does this only show up when there are no pireps pending or when there are pireps as well?

  • Administrators
Posted

I can not seem to reproduce it on any of my test installs so I am kind of going in blind but try this;

$row = DB::get_row($sql);
if($row == NULL){$row->rawdata = new stdClass();}
$row->rawdata = unserialize($row->rawdata);

Posted

Immagine2.png

I can not seem to reproduce it on any of my test installs so I am kind of going in blind but try this;

$row = DB::get_row($sql);
if($row == NULL){$row->rawdata = new stdClass();}
$row->rawdata = unserialize($row->rawdata);

  • 1 year later...

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...