Answers.Body: <p>It seems to be the hosting limit. And there are two possible reasons:</p>
  <ol>
  <li><p>Timeout (SQL cannot execute your query because the query is taking too long)
  — <code>wait_timeout</code></p>
  </li>
  <li><p>Packet too big for the server - <code>max_allowed_packet</code></p>
  </li>
  </ol>
  <p>Ask the hosting to increase the values for these MySQL config params</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-23T16:41:39.497Z
Answers.Text: Thanks, @RomanAvr! That was my thought as well, but I know that the three entries in question are fairly simple and are more or less the same complexity as siblings in their channel. The other point is that this all worked fine before - there have been no structural changes to the site, nothing really new other than new blog posts, so I still wonder what triggered this
Answers.UserDisplayName: Roi Agneta
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-23T16:50:36.793Z
Answers.Text: Maybe the hosting provider made changes (maybe when changing the version of MySQL or PHP).
  Or have you added content for the matrix block, it has become larger, thereofore, the package size has increased?
Answers.UserDisplayName: RomanAvr
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-23T09:50:17.043Z
Answers.LastActivityDate: 2022-10-23T09:50:17.043Z
Answers.UserDisplayName: RomanAvr
Body: <p>This is a really strange issue - everything had been working fine for many months then all of a sudden three specific entries in the same section started throwing PDO Exception (see screenshot below). All of the other entries in the section, which use the exact same Entry Types, work fine.</p>
  <p>The error occurs when accessing a matrix field that is used throughout the site and works fine elsewhere. I am convinced it is not template related, but at a loss for troubleshooting ideas.</p>
  <p>I contacted the hosting provider - Arcustech - but they were unable to provide any insights. Hoping one of you geniuses out there can help!</p>
  <p>Running Craft 3.7.26 and using Freeform &amp; Amazon S3 plugins</p>
  <p><a href="https://i.sstatic.net/hwLyZ.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/hwLyZ.jpg" alt="screenshot of error " /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-10-22T19:18:19.087Z
Comments.Text: Which DB engine are you using? MariaDb or MySQL?
Comments.UserDisplayName: Mats Mikkel Rummelhoff
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-10-22T22:57:18.203Z
Comments.Text: MySQL 8.0.30 - thanks for looking at this!
Comments.UserDisplayName: Roi Agneta
Tags: <matrix>
Title: PDO Exception when accessing a matrix field
ThreadText: # PDO Exception when accessing a matrix field
  
  (Asked by: username_0 on 2022-10-22)
  
  This is a really strange issue - everything had been working fine for many months then all of a sudden three specific entries in the same section started throwing PDO Exception (see screenshot below). All of the other entries in the section, which use the exact same Entry Types, work fine.
  
  The error occurs when accessing a matrix field that is used throughout the site and works fine elsewhere. I am convinced it is not template related, but at a loss for troubleshooting ideas.
  
  I contacted the hosting provider - Arcustech - but they were unable to provide any insights. Hoping one of you geniuses out there can help!
  
  Running Craft 3.7.26 and using Freeform & Amazon S3 plugins
  
  [![screenshot of error ](https://i.sstatic.net/hwLyZ.jpg)](https://i.sstatic.net/hwLyZ.jpg)
  
  **Tags:** matrix
  
  > **Comments:**
  > **username_1**: Which DB engine are you using? MariaDb or MySQL?  
  > **username_0**: MySQL 8.0.30 - thanks for looking at this!  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2022-10-23. Score: 1
  
  It seems to be the hosting limit. And there are two possible reasons:
  
  1. Timeout (SQL cannot execute your query because the query is taking too long)
     — `wait_timeout`
  2. Packet too big for the server - `max_allowed_packet`
  
  Ask the hosting to increase the values for these MySQL config params
  
  > **Comments:**
  > **username_0**: Thanks, @username_2! That was my thought as well, but I know that the three entries in question are fairly simple and are more or less the same complexity as siblings in their channel. The other point is that this all worked fine before - there have been no structural changes to the site, nothing really new other than new blog posts, so I still wonder what triggered this  
  > **username_2**: Maybe the hosting provider made changes (maybe when changing the version of MySQL or PHP). Or have you added content for the matrix block, it has become larger, thereofore, the package size has increased?  
  
  ---
  
  