An uncaught Exception was encountered

Type: Error

Message: Call to a member function result_array() on bool

Filename: /var/www/prod-gpc/application/helpers/general_helper.php

Line Number: 1281

Backtrace:

File: /var/www/prod-gpc/application/views/frontend/header.php
Line: 114
Function: getPagesOfContent

File: /var/www/prod-gpc/application/views/frontend/event_details.php
Line: 30
Function: view

File: /var/www/prod-gpc/application/controllers/frontend/Home.php
Line: 998
Function: view

File: /var/www/prod-gpc/index.php
Line: 315
Function: require_once