The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AJAX post bug
#3
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!
  Reply


Messages In This Thread
AJAX post bug - by JUG - 04-12-2017, 03:38 AM
AJAX post bug - by karsen - 04-13-2017, 08:27 PM
AJAX post bug - by JUG - 04-18-2017, 03:25 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)