Pdo errors in error log

Modx 3.0.5
PHP 8.3.22
Litespeed

Any idea how to resolves these errors? I have pdo and pdo_mysql installed

[2025-07-23 12:34:22] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
								 ['mark', 'firstbyte', (new Date()).getTime().
[2025-07-23 12:34:22] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: ArticlesContainer from mysql.articlescontainer
[2025-07-23 12:34:22] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: ArticlesContainer from mysql.articlescontainer
[2025-07-23 12:34:22] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: ArticlesContainer from mysql.articlescontainer
[2025-07-23 12:34:22] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: ArticlesContainer from mysql.articlescontainer
[2025-07-23 12:34:22] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: ArticlesContainer from mysql.articlescontainer
[2025-07-23 12:34:22] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: ArticlesContainer from mysql.articlescontainer
[2025-07-23 12:34:23] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: ArticlesContainer from mysql.articlescontainer
[2025-07-23 12:34:23] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: ArticlesContainer from mysql.articlescontainer
[2025-07-23 12:34:23] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: ArticlesContainer from mysql.articlescontainer
[2025-07-23 12:34:23] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: ArticlesContainer from mysql.articlescontainer
[2025-07-23 12:34:23] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:23] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:23] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:23] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:23] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:24] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
								 ['mark', 'firstbyte', (new Date()).getTime().
[2025-07-23 12:34:24] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
								 ['mark', 'firstbyte', (new Date()).getTime().
[2025-07-23 12:34:24] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
								 ['mark', 'firstbyte', (new Date()).getTime().
[2025-07-23 12:34:24] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
								 ['mark', 'firstbyte', (new Date()).getTime().
[2025-07-23 12:34:24] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
								 ['mark', 'firstbyte', (new Date()).getTime().
[2025-07-23 12:34:25] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:25] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:25] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:25] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:25] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:25] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
								 ['mark', 'firstbyte', (new Date()).getTime().
[2025-07-23 12:34:25] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
								 ['mark', 'firstbyte', (new Date()).getTime().
[2025-07-23 12:34:25] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
								 ['mark', 'firstbyte', (new Date()).getTime().
[2025-07-23 12:34:25] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/src/Revolution/modParser.php : 512) Could not find snippet with name 'id', '567acf50abe53d964f8310ac'],
								 ['mark', 'firstbyte', (new Date()).getTime().
[2025-07-23 12:34:45] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:45] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:45] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: ArticlesContainer from mysql.articlescontainer
[2025-07-23 12:34:45] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:45] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:45] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:45] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:45] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article
[2025-07-23 12:34:45] (ERROR @ /home/hcann/domains/ site.mysite.com/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 667) Could not load class: Article from mysql.article

xPDO.php line 667

  $this->log(xPDO::LOG_LEVEL_ERROR, "Could not load class: {$classname} from {$fqn}");

modParser.php : 512 (I have no snippet named “id”)

  $this->modx->log(xPDO::LOG_LEVEL_ERROR, "Could not find snippet with name {$tagName}.");

Do you have the extra Articles installed (and in use)?
It could be that the class_key of the Articles resources wasn’t updated for MODX 3 (when you switched from MODX 2 to MODX 3).

It’s not a problem with pdo.
xPDO just can’t load a custom class that’s not available.


You get the “Could not find snippet with name” error message everytime the MODX parser finds a snippet tag (in a resource or chunk) it can’t process.
E.g. a tag like [[!whatever]] (or [[whatever]]) generates the error “Could not find snippet with name whatever.”

Here the code tries to find a snippet with the name
'id', '567acf50abe53d964f8310ac'], ['mark', 'firstbyte', (new Date()).getTime()

Sometimes when you have data with nested arrays (e.g. [['a','b'],['c','d']]) on a page, the MODX parser thinks it’s a snippet (because of the [[ and ]]) and tries to parse it. This is likely the case here. Try to add spaces between the square brackets (e.g. [ ['a','b'],['c','d'] ]) if possible.

Yes had Articles installed and just RE-installed it. Ok will investigate further, Thanks

Resolved. Had a pingdom embed causing it in the template