Skip to main content
ElizabethGailLittle
Inspiring
Nov 28, 2020 10:24 PM UTC
Question

Error message I don't understand

I just got a weird message.  The page shows properly.  However, at the BOTTOM, this miessage appears:

Fatal error: Uncaught Exception: Serialization of 'PDOStatement' is not allowed in [no active file]:0 Stack trace: #0 {main} thrown in [no active file] on line 0

 

Does anyone have any idea what this means or where I might look to find the problem?

 

Any advice will be appreciated!  Thanks...

 

This topic is closed to new replies. Start a new post to keep the conversation going.

10 replies

Nancy OShea
Community Expert
Community Expert
Nov 28, 2020 11:44 PM UTC

Did you previously have a stored session? 

 

 

Translate
Nancy O'Shea— Product User & Community Expert
ElizabethGailLittle
Inspiring
Nov 29, 2020 1:13 AM UTC

I am using a session.  I'm trying to set up a paged display of records.  I'm reading all on the first time through.  What I'd LIKE to do is then update the $firstrec value to show the next group.,, But this message appears the first time the page is called!!!  Not at the top but at the bottom after the page is displayed!

Translate
ElizabethGailLittle
Inspiring
Nov 29, 2020 6:41 PM UTC

When page opens, I'm reading data & saving variables I'll need for subsequent calls in session variables.  If NEXT is chosen, I'm calling $_SERVER['PHP_SELF'] (I got this from David Powers' PHP Solutions).  But I don't even get there before getting this fatal error.  But the page displays ok!!!!!   Most confusing.  Makes no sense to me, but I'm new to this process.

Translate
anissa_thompson
Community Expert
Community Expert
Nov 28, 2020 11:44 PM UTC

Hi Elizabeth!

Unfortunately it's hard to full diagnose what the problem is without you providing a link to (or at least of screenshot) of the error in action or the steps to get to there. However, I can start by saying this is a PHP error that occurs when a website can't successfully connect to a database it needs to finish displaying it's content. If you're not sure what's causing the issue, you may need to contact your website host's technical support to identify the issue; it could be a corrupt or old WordPress installation or other one-click install application.

Hope this helps!

Translate
Hope this helps! Make sure to press "✔ Correct Answer" on this post if this answers your question. Happy Creating!Anissa • @anissat
ElizabethGailLittle
Inspiring
Nov 29, 2020 9:27 PM UTC

The database information is displayed correctly, so I don't think the host's tech support can help me.  I'm using Dreamweaver & SQL/PDO.  Thanks for your response.

Translate