Notice: Undefined variable: cms_page_sub_category in /var/www/ca.emmitech.co.uk/logic/cms_pages_logic.php on line 17

Fatal error: Uncaught Error: Call to a member function get_cms_page_sub_category_by_id() on null in /var/www/ca.emmitech.co.uk/logic/cms_pages_logic.php:17 Stack trace: #0 /var/www/ca.emmitech.co.uk/logic/logic.php(7): include() #1 /var/www/ca.emmitech.co.uk/public_html/index.php(22): include('/var/www/ca.emm...') #2 {main} thrown in /var/www/ca.emmitech.co.uk/logic/cms_pages_logic.php on line 17