Fork me on GitHub
Subscribe 0

Ticket #1151 (open bug)


  • Created: 2020-10-29 07:59:51
  • Reported by: Visman
  • Assigned to: None
  • Milestone: None
  • Component: code
  • Priority: normal


Visman 2021-03-12 15:56:25

2. Found an error that occurs when searching for a guest if nothing is found:

<b>Fatal error</b>:  Uncaught Error: mysqli_result object is already closed in \www\fluxbb\include\dblayer\mysqli.php:186
Stack trace:
#0 \www\fluxbb\include\dblayer\mysqli.php(186): mysqli_free_result(Object(mysqli_result))
#1 \www\fluxbb\footer.php(162): MysqlDBLayer-&gt;close()
#2 \www\fluxbb\include\functions.php(957): require('C:\\laragon\\www\\...')
#3 \www\fluxbb\search.php(312): message('Your search ret...')
#4 {main}
  thrown in <b>\www\fluxbb\include\dblayer\mysqli.php</b> on line <b>186</b><br />
Comment edited 1 times (Diff)

Visman 2021-03-12 16:38:34

You need to delete all


in the search.php file. There is no point in calling this method, since the query data from the database is completely cleared by the loop before executing it.

Similarly, in the include\search_idx.php file.

Comment edited 1 times (Diff)