Parse error: syntax error, unexpected T_String

hello, i'm having a problem with the join feature after doing all the updates. so far everything else appears to be working but when someone trys to join this is the error message i'm getting

"Parse error: syntax error, unexpected T_STRING in /home/xxxxx/xxxxxx/xxxx/inc/classes/BxDolProfileFields.php(376) : runtime-created function on line 2

Fatal error: Function name must be a string in /home/xxxxxx/xxxxx/xxxx/inc/classes/BxDolProfileFields.php on line 378"

can someone help me fix this problem please? i have the 7.0.9 version. thank you

Quote · 18 Nov 2012

can anyone help with this please? no one new can join my site until this is fixed so i would greatly appreciate it :)

Quote · 21 Nov 2012

Post the code around those lines.

so much to do....
Quote · 21 Nov 2012

The error says error in runtime-created function. And the error is encountered when going though profile fields.

So my bet is a error is occurring in the eval code of one of the profile fields. Most common area that throws those kind of errors are mods that add filtering in which a change is made to the eval of one of the profile fields such as the NickName.

https://www.deanbassett.com
Quote · 21 Nov 2012

 

Post the code around those lines.

thank you. this is what is on those lines:

line 1:<?php
line2:require_once( BX_DIRECTORY_PATH_CLASSES . 'Thing.php' );

 

line 377:
line 378:   if( !$sFunc( $mValue ) )

Quote · 21 Nov 2012

 

The error says error in runtime-created function. And the error is encountered when going though profile fields.

So my bet is a error is occurring in the eval code of one of the profile fields. Most common area that throws those kind of errors are mods that add filtering in which a change is made to the eval of one of the profile fields such as the NickName.

 thank you. can you tell me how i would go about solving the problem or figuring out what to do next? I will check the profile fields in the meantime to see if anything seems incorrect to my level of experience which is on the short end lol

Quote · 21 Nov 2012

Go to admin panel -> profile builder

First check email and nickname fields

Click on them->Advance->Check

or check any other field you might added.

Post the code you find there if not sure.

so much to do....
Quote · 21 Nov 2012

 

Go to admin panel -> profile builder

First check email and nickname fields

Click on them->Advance->Check

or check any other field you might added.

Post the code you find there if not sure.

 this is the code in the nickname advance tab field:

return ( preg_match( '/^[a-zA-Z0-9_-]+$/', $arg0 ) and !file_exists( $dir['root'] . $arg0 ) );

and this is the code in the email field;

return (bool) preg_match('/^([a-z0-9+_-.]+)@([a-z0-9+_-.]+)$/i', $arg0);

Quote · 22 Nov 2012

still needing help on this please

Quote · 26 Nov 2012

nevermind. i figured this out finally by going through every profile button and seeing what seemed different from the others

Quote · 30 Nov 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.