04-18-2017, 03:25 AM
Thanks @karsen. DB class wasn't working if I only included helpers.php and us_helpers.php I get: PHP Fatal error: Call to a member function insert() on null in parser.php on line 10.
However, after investigating header.php, I found that header.php does call ob_start() function at the begining, so I googled it and found that I can clean ob (output buffer) with ob_end_clean(). So I added last function after including header.php and echo now works perfectly!
Thanks again!
However, after investigating header.php, I found that header.php does call ob_start() function at the begining, so I googled it and found that I can clean ob (output buffer) with ob_end_clean(). So I added last function after including header.php and echo now works perfectly!
Thanks again!