MedVede Posted June 19, 2017 Share Posted June 19, 2017 (edited) Could anyone help me ? Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/newsantos/domains/webshelp.lt/public_html/system/Member/Member.php on line 2802 and this is the line from code } $fields[ $profileFieldGroup ] = ( new \IPS\core\ProfileFields\Api\FieldGroup( $this->language()->get( 'core_pfieldgroups_' . $profileFieldGroup ), $groupValues ) )->apiOutput(); } } Edited June 19, 2017 by MedVede Link to comment Share on other sites More sharing options...
0 MedVede Posted June 20, 2017 Author Share Posted June 20, 2017 Cheers for answers problem was I required to update php version <3 1 Link to comment Share on other sites More sharing options...
0 Cookie Monster Posted June 19, 2017 Share Posted June 19, 2017 35 minutes ago, MedVede said: Could anyone help me ? Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/newsantos/domains/webshelp.lt/public_html/system/Member/Member.php on line 2802 and this is the line from code } $fields[ $profileFieldGroup ] = ( new \IPS\core\ProfileFields\Api\FieldGroup( $this->language()->get( 'core_pfieldgroups_' . $profileFieldGroup ), $groupValues ) )->apiOutput(); } } Did you add any custom fields by any chance ? That error has something to do with custom profile fields. The values or something you have entered throws the error. Liked what i posted remember to feed me a cookie ->Or you can add a cookie to my Link to comment Share on other sites More sharing options...
0 MedVede Posted June 19, 2017 Author Share Posted June 19, 2017 I've uploaded clean files and tried to install and got this error Link to comment Share on other sites More sharing options...
0 MedVede Posted June 19, 2017 Author Share Posted June 19, 2017 Please help! Link to comment Share on other sites More sharing options...
0 Faraonii Posted June 19, 2017 Share Posted June 19, 2017 Did you tried to change php version to 5.6 or 7.0/7.1? Link to comment Share on other sites More sharing options...
0 Cookie Monster Posted June 19, 2017 Share Posted June 19, 2017 1 hour ago, Faraonii said: Did you tried to change php version to 5.6 or 7.0/7.1? Well IPS 4.1.x should support 7.x and not throw that error. @MedVede Could you try upload that file and overwrite it. Also when do you get the error, and where did you get the release from ? Liked what i posted remember to feed me a cookie ->Or you can add a cookie to my Link to comment Share on other sites More sharing options...
0 killshandra Posted June 20, 2017 Share Posted June 20, 2017 10 hours ago, Cookie Monster said: Well IPS 4.1.x should support 7.x and not throw that error. @MedVede Could you try upload that file and overwrite it. Also when do you get the error, and where did you get the release from ? this if the hosting has automaticly enabled the function you need for ip board, sometimes shared hosting have the basic or almost none of the function, in the php selection panel. hope it clear im still on my first cup of coffee Link to comment Share on other sites More sharing options...
0 Cookie Monster Posted June 20, 2017 Share Posted June 20, 2017 5 hours ago, killshandra said: this if the hosting has automaticly enabled the function you need for ip board, sometimes shared hosting have the basic or almost none of the function, in the php selection panel. hope it clear im still on my first cup of coffee You want to have another cup of coffee and explain that ? So your saying if the host automatically enabled (What? php 7, php 5.6 the file in question?) What function ? Most shared hosting have what you need. BUT what most FREE Shared hosting has is restrictions. Liked what i posted remember to feed me a cookie ->Or you can add a cookie to my Link to comment Share on other sites More sharing options...
0 killshandra Posted June 20, 2017 Share Posted June 20, 2017 8 hours ago, Cookie Monster said: You want to have another cup of coffee and explain that ? So your saying if the host automatically enabled (What? php 7, php 5.6 the file in question?) What function ? Most shared hosting have what you need. BUT what most FREE Shared hosting has is restrictions. some shared hosting (at least happened to me before changing), did gave a default version 7 set up, that caused error on ip board Link to comment Share on other sites More sharing options...
0 Cookie Monster Posted June 21, 2017 Share Posted June 21, 2017 26 minutes ago, MedVede said: Cheers for answers problem was I required to update php version <3 Did you get it resolved? Liked what i posted remember to feed me a cookie ->Or you can add a cookie to my Link to comment Share on other sites More sharing options...
0 MedVede Posted June 21, 2017 Author Share Posted June 21, 2017 16 minutes ago, Cookie Monster said: Did you get it resolved? Yes Link to comment Share on other sites More sharing options...
0 GradientWizzard Posted June 21, 2017 Share Posted June 21, 2017 The question(s) in this support topic have been answered and the topic author has resolved their issue. This topic is now closed. If you have other questions, please open a new topic. Achievements: February 14 2013 - Joined WebFlake & Became Moderator.March 26 2013 - Became a Dad of 1 kid.April 8 2015 - Became a Dad of 2 kids.July 15 2015 - Retired as a Moderator.November 11 2016 - Passed my Car Driving Licence.April 13 2017 - Became apart of the Junior Moderator Team. Link to comment Share on other sites More sharing options...
Question
MedVede
Could anyone help me ?
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/newsantos/domains/webshelp.lt/public_html/system/Member/Member.php on line 2802
and this is the line from code
} $fields[ $profileFieldGroup ] = ( new \IPS\core\ProfileFields\Api\FieldGroup( $this->language()->get( 'core_pfieldgroups_' . $profileFieldGroup ), $groupValues ) )->apiOutput(); } }
Edited by MedVedeLink to comment
Share on other sites
12 answers to this question
Recommended Posts