Jump to content
WebFlake
  • 0

Error on IPS4


MedVede

Question

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 MedVede
Link to comment
Share on other sites

12 answers to this question

Recommended Posts

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

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

  • 0
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 ?

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

  • 0
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

  • 0
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 :P ?

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.

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

  • 0
8 hours ago, Cookie Monster said:

You want to have another cup of coffee and explain that :P ?

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

  • 0
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

Guest
This topic is now closed to further replies.
×
×
  • Create New...