Blank Page Fatal Error
Posted: August 17th, 2023, 10:44 pm
After getting the install activation errors fixed, the Profile and Wall page was blank (all white). Checking the error log on the server side it said this:
Locate line 271 which looks like this:
Replace with this:
THE FIXPHP Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/******/forum.lipsweb.com/ext/msaulohenrique/wall/controller/helper.php on line 271
Locate line 271 which looks like this:
Code: Select all
$data = $like.(($count == 0) ? '' : (($count > 1) ? $this->user->lang('WALL_LIKE_THIS') : ($own == $row['user_id']) ? $this->user->lang('WALL_LIKE_THIS') : $this->user->lang('WALL_LIKE_THIS_S')));Code: Select all
$data = $like.(($count == 0) ? '' : (($count > 1) ? $this->user->lang('WALL_LIKE_THIS') : (($own == $row['user_id']) ? $this->user->lang('WALL_LIKE_THIS') : $this->user->lang('WALL_LIKE_THIS_S'))));