Support » Plugin: FluentSMTP - WP Mail SMTP, Amazon SES, SendGrid, MailGun and Any SMTP Connector Plugin » PDO error in log, emails including the test not getting logged

  • Resolved Space


    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.

Viewing 1 replies (of 1 total)
  • Plugin Support Jafor Ahmed


    Hello @bkno

    We will add a warning somewhere that the PHP PDO and pdo_mysql extensions are required to run Fluent SMTP. Thanks for reporting.

    Have a great day!

Viewing 1 replies (of 1 total)
  • The topic ‘PDO error in log, emails including the test not getting logged’ is closed to new replies.