Hi, we are receiving a PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in mod/folio/control/page_edit_post.php when we try to edit or add a wiki page. We are using PHP 4.4.7. Have anyone received a similar error?
Yup, it's a problem with you running an older version of php than I (the dev for mod/folio) to run on.
I'm going to take another couple of days to work on this. However, for your fix, open that mod/folio/control/page_edit_post.php & replace line 71 with the following two lines. Your older version of php doesn't like dereferencing a function return value.
Comments
I'm going to take another couple of days to work on this. However, for your fix, open that mod/folio/control/page_edit_post.php & replace line 71 with the following two lines. Your older version of php doesn't like dereferencing a function return value.
$u = folio_finduser( $username )
if ( $u->user_type == 'community' ) {