Error Message: 1615 – Prepared Statement Needs To Be Re-prepared - Question | JoomShaper

Error Message: 1615 – Prepared Statement Needs To Be Re-prepared

M

Marco

SP Page Builder 1 month ago

Hello, Yesterday I upgraded my Joomla website to version 6.1.1; SP Page Builder was already at version 6.6.2.

Additional information: PHP version 8.4.17 Database version 8.0.28-19

It wasn’t until today that I saw the error message in the frontend—the backend is working fine. Of course, the question is: why did I only see the error message today and not yesterday? Logging is enabled in Joomla; administrator/logs/everythink.php shows a problem

/components/com_sppagebuilder/models/page.php

I commented out this line: // $table->hit($pk);

It’s working again!

What’s going on here?

Regards - Marco

0
10 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 1 month ago #226783

Hi there!

Thank you for bringing this to our attention, and I sincerely apologize for the inconvenience caused.

To assist you more effectively, may I kindly request temporary administrative access to your site? This will allow me to thoroughly investigate and resolve the issue for you.

Before sharing the credentials, I strongly recommend taking a complete backup of your site to ensure all data remains secure.

Looking forward to your response.

Best regards

0
M
Marco
Accepted Answer
1 month ago #226788

Hello, of course—login credentials in hidden content

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 1 month ago #226789

Please check the hidden content area

0
M
Marco
Accepted Answer
1 month ago #226790

sorry - not activated - now it works

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 1 month ago #226795

I apologize for the inconvenience caused. Could you please check now and let me know if the issue is resolved on your end?

Looking forward to your response.

Best regards

0
M
Marco
Accepted Answer
1 month ago #226826

Hello,

The problem was resolved when I contacted Joomshaper—the error message no longer appeared. “Resolved” isn't quite the right term; as I explained in the forum, I simply commented out a line of code—which, however, allowed me to get the page online.

May I ask what you were looking for in the backend?

Regards - Marco

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 1 month ago #226886

I have changed your below settings In Global Configuration > Server > Database > Database Type : MySQL (PDO)

0
M
Marco
Accepted Answer
1 month ago #226887

Hello,

Could you please tell me why you switched the database connection from MySQLi to MySQL (PDO)?

Regards - Marco

0
M
Marco
Accepted Answer
1 month ago #227237

Could I please get more information about changing the database connection? Thanks!

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 1 month ago #227354

The issue is related to how the MySQL server handles prepared statements with the MySQLi database driver. In some server environments, this can trigger the "1615 – Prepared statement needs to be re-prepared" error.

Switching the database driver to MySQLi (PDO) uses a different database interface that avoids this server-side issue while maintaining the same functionality. This is a safe change and does not affect your website's data or features.

0