I just upgraded a MODX 2.8.6 site to 3.0.4. I had a few issues, mainly dealing with file permissions, all of a sudden getting a ton of 403 errors. After chmodding all folders (775) and files (664) it looked like everything was working again.
The only issue left is, that when I’m viewing the media browser, it’s not loading thumbnails for the images. Then, I also get logged out after a short amount of time after viewing a media source.
The dev console shows a ton of 401 errors for the image requests.
There’s also a lot of these errors in the error log:
(ERROR @ core/src/Revolution/Sources/modMediaSource.php : 2244) PHP warning: exif_read_data(Brand-Logo-Alpha-Web.png): File not supported
(ERROR in xPDO\xPDOConnection::connect @ core/vendor/xpdo/xpdo/src/xPDO/xPDOConnection.php : 89) SQLSTATE[HY000] [1203] User o9431840 already has more than 'max_user_connections' active connections
(ERROR @ core/vendor/xpdo/xpdo/src/xPDO/Om/xPDOQuery.php : 670) Could not construct or prepare query because it is invalid or could not connect: SELECT `modExtensionPackage`.`id`, `modExtensionPackage`.`namespace`, `modExtensionPackage`.`name`, `modExtensionPackage`.`path`, `modExtensionPackage`.`table_prefix`, `modExtensionPackage`.`service_class`, `modExtensionPackage`.`service_name`, `modExtensionPackage`.`created_at`, `modExtensionPackage`.`updated_at`, Namespace.path AS namespace_path FROM `mx_extension_packages` AS `modExtensionPackage` JOIN `mx_namespaces` `Namespace` ON `modExtensionPackage`.`namespace` = `Namespace`.`name` ORDER BY namespace ASC
(ERROR @ core/vendor/xpdo/xpdo/src/xPDO/Om/xPDOQuery.php : 670) Could not construct or prepare query because it is invalid or could not connect: SELECT `modSession`.`id` AS `modSession_id`, `modSession`.`access` AS `modSession_access`, `modSession`.`data` AS `modSession_data` FROM `mx_session` AS `modSession` WHERE `modSession`.`id` = ?
(ERROR @ core/vendor/xpdo/xpdo/src/xPDO/Om/xPDOObject.php : 250) Error preparing statement for query: SELECT `modSession`.`id` AS `modSession_id`, `modSession`.`access` AS `modSession_access`, `modSession`.`data` AS `modSession_data` FROM `mx_session` AS `modSession` WHERE `modSession`.`id` = ? - Array
(
[0] => 00000
[1] =>
[2] =>
)
Any ideas?