brunoquadros Posted August 2, 2016 Report Share Posted August 2, 2016 (edited) Hello. i'm getting the following error in the public profile page: Warning: Creating default object from empty value in C:\wamp\www\testes\core\common\ChartsData.class.php on line 49 In line 49 has: $z = ''; $z->label = $date[1].'-'.$date[2]; # 49 $z->point = $dat->total; $dataPoint[] = $z; Does anyone know the solution to this error? Thanks! Edited August 3, 2016 by brunoquadros Quote Link to comment Share on other sites More sharing options...
brunoquadros Posted August 3, 2016 Author Report Share Posted August 3, 2016 (edited) I solved the error going to the profile.php folder in core/modules/Profile and commenting the line 83: #replacement for OFC charts - Google Charts API - simpilot $this->set('chart_url', ChartsData::build_pireptable($pilotid, 30)); # -> 83 #end Just add # at the beginning of the line. Edited August 4, 2016 by brunoquadros Quote Link to comment Share on other sites More sharing options...
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.