Skip to main content
ElizabethGailLittle
Inspiring
November 28, 2020
Question

Error message I don't understand

  • November 28, 2020
  • 2 replies
  • 949 views

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 has been closed for replies.

2 replies

Nancy OShea
Community Expert
Community Expert
November 28, 2020

Did you previously have a stored session? 

 

 

Nancy O'Shea— Product User & Community Expert
ElizabethGailLittle
Inspiring
November 29, 2020

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!

ElizabethGailLittle
Inspiring
November 29, 2020

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.

anissa_thompson
Community Expert
Community Expert
November 28, 2020

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!

Hope this helps! Make sure to press "✔ Correct Answer" on this post if this answers your question. Happy Creating!Anissa • @anissat
ElizabethGailLittle
Inspiring
November 29, 2020

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.