Hello
I have an issue with a parse syntax error. Here is the error message: Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /admin/rb.php on line 7806
Here is that section of the code:
Line 7806 is the line containing return self::
Could someone tell me this issue?
Also for further background knowledge. I am on a server using php 5.2.12. I also tried this on a different server and it was the same error. I also uploaded the file two ways in case my ftp program was causing the data to be changed or jumbled during upload. No avail.
Thanks in advance for all help.
I have an issue with a parse syntax error. Here is the error message: Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /admin/rb.php on line 7806
Here is that section of the code:
PHP Code:
*/
public static function exec( $sql, $values=array() ) {
return self::secureExec(function($sql, $values) {
return R::$adapter->exec( $sql, $values );
}, NULL,$sql, $values );
}
Could someone tell me this issue?
Also for further background knowledge. I am on a server using php 5.2.12. I also tried this on a different server and it was the same error. I also uploaded the file two ways in case my ftp program was causing the data to be changed or jumbled during upload. No avail.
Thanks in advance for all help.
Comment