General error: 1615 Prepared statement need to be re-prepared

Good day
On the submission of an article, the system seems to be ‘losing’ connection with the database. It keeps on stating that it is reconnecting (bottom of the page next to the submit button). The result is that the article submission cannot be finalised. After a while, and after cache has been cleared in the administrator area, the submission can be made successfully.

OJS 3.4.0-7
PHP 8.3

Additional information:
In the error.log, I get the following:
Previous error:
Type: PDOException
Code: HY000
Message: SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared
File: /#######/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php
Line: 570

Any assistance to resolve this will be appreciated
Peter

Hi @fusionhub,

This is possibly a MySQL bug or configuration issue; you might have better luck searching on StackOverflow. For example:

https://stackoverflow.com/questions/4380813/how-to-get-rid-of-mysql-error-prepared-statement-needs-to-be-re-prepared

Regards,
Alec Smecher
Public Knowledge Project Team

This topic was automatically closed after 12 days. New replies are no longer allowed.