-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Fatal error: Uncaught Error: mysqli_result object is already closed #3
Comments
This is an elusive error :( But for now I suggest complicating the condition for testing
replace to
|
Hi, And thank you for all your efforts and work over the past few years. You keep punbb alive. That is invaluable |
Please show me your file /include/search_functions.php |
|
Hope, this is right... |
Hmm, you seem to be using the original punbb, but I've made a lot of corrections here. |
Correct, it was the last version of punbb 1.4.6 (punbb.informer.com) but with all your fixes. All error messages have been corrected. And now I'm on PHP 8.3. This mistake has been the most persistent one so far. I believe the changed line of code: |
oh my goodness. Somehow I messed up when uploading the files to the server. The file mysqli_innodb.php was already corrected local with your fixes. But somehow the old file ended up on the server. no wonder if it shows me a fatal error. I noticed this when I activated the pan_search_advanced extension and compared the files again. Please excuse the inconvenience and thank you for your time. 👍 💯 Sorry :-( |
Hi Visman,
This error was in my error log this morning. But the script runs without problems. Unusual.
[01-Jan-2024 06:11:30 UTC] PHP Fatal error: Uncaught Error: mysqli_result object is already closed in /xxx/xxx/xxx/include/dblayer/mysqli_innodb.php:285
Stack trace:
#0 /xxx/xxx/xxx/include/dblayer/mysqli_innodb.php(285): mysqli_free_result()
#1 /xxx/xxx/xxx/footer.php(95): DBLayer->close()
#2 /xxx/xxx/xxx/search.php(393): require('/xxx/xxx/p...')
#3 /xxx/xxx/xxx/rewrite.php(69): require('/xxx/xxx/p...')
punbb#4 {main}
thrown in /xxx/xxx/xxx/include/dblayer/mysqli_innodb.php on line 285
The line numbers do not match the original in footer.php, search.php, rewrite.php because I compressed the files a bit.
Except the include/dblayer/mysqli_innodb.php, which is untouched
PHP 8.3
phpMyAdmin 5.2.1
The text was updated successfully, but these errors were encountered: