error 1615: Prepared statement needs to be re-prepared (decora template) - Forum | JoomShaper
Staff replied SP Page Builder

error 1615: Prepared statement needs to be re-prepared (decora template)

Asked by Petra 4 months ago Last activity 3 months ago

Hi,

I updated website at Decora template to Joomla 5.4.6 and SP Page Builder 6.6.0 and the whole site crashed with this image and error 1615: Prepared statement needs to be re-prepared

When I enabled debug and shared it with chatgpt, it told me the problem was in collecting hits for pages and suggested to comment out this line $model->hit(); in components/com_sppagebuilder/controller.php (which did the trick and web works again).

I don't know if it's template specific or for all updates, because it only happened to me on 2 sites so far, but can you please look at it?

2 replies

Rashida Rahman Staff

Hello,

Thank you for reporting this issue and for sharing the workaround.

We tested it and confirmed that changing the database driver from MySQLi to MySQL (PDO) in:

Global Configuration → Server → Database → Database Type resolves the “1615: Prepared statement needs to be re-prepared” error.

Best regards,

Petra Asked this

Hi Rashida,

I just noticed that I can't use PDO on sites with Virtuemart... so I'll need to use my workaround on eshops.

Rashida Rahman Staff

Hi Petra,

Oh I see... Thanks for the feedback.

Have a nice day!

Log in to reply.