Jump to content

Help please


kingcobra0128

Recommended Posts

I get this error when I don't have any data in my xml file for 'gmplrs'  I need a test to say return something else if there is no data for this.

 

line 76 -->>  return $this->info['serverpage'][0]['gms'][0]['gmplr'];

 

Fatal error: Cannot use string offset as an array in /var/www/clients/client2/web2/web/lib/StatsXML.class.php on line 76

Link to comment
https://forums.phpfreaks.com/topic/154698-help-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.