PDO error in log, emails including the test not getting logged
-
I installed FluentSMTP on my site and it caused a critical error when when trying to log an email:
CRITICAL Uncaught Error: Class 'PDO' not found in /home/username/public_html/wp-content/plugins/fluent-smtp/app/Models/Model.php:40
I have resolved this by enabling the PHP pdo and pdo_mysql extensions. These are not enabled by default in CloudLinux’s PHP setup which powers a lot of hosting providers these days. Please can you mention this requirement on the plugin page and highlight it on the plugin’s admin screen. I’m not sure why the PDO extensions are required as WordPress and WooCommerce do not require these.
As a result, some customers saw an error page. Beforehand, I had generated a test email which was received but not logged. I thought that was strange, as I expected to be logged; but no error was visible on-screen. Having fixed the issue now, I can see the test email both being received AND logged.
- The topic ‘PDO error in log, emails including the test not getting logged’ is closed to new replies.