• Recently moved site to a new server running PHP 7.0.7 – site generally works, but seeing the following errors in the logs from the wp-cron task:

    2016/06/12 01:11:42 [error] 3128#3128: *642 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error in /srv/www/example.com/wp-content/plugins/wp-db-driver/drivers/pdo_mysql.php:277
    Stack trace:
    #0 /srv/www/example.com/wp-content/plugins/wp-db-driver/drivers/pdo_mysql.php(277): PDOStatement->fetchObject()
    #1 /srv/www/example.com/wp-content/plugins/wp-db-driver/inc/db-driver.php(1687): wpdb_driver_pdo_mysql->get_results()
    #2 /srv/www/example.com/wp-content/plugins/wp-db-driver/inc/db-driver.php(1891): wpdb_drivers->query('UPDATE 'wp_opti...')
    #3 /srv/www/example.com/wp-includes/option.php(328): wpdb_drivers->update('wp_options', Array, Array)
    #4 /srv/www/example.com/wp-includes/cron.php(464): update_option('cron', Array)
    #5 /srv/www/example.com/wp-includes/cron.php(101): _set_cron_array(Array)
    #6 /srv/www/example.com/wp-includes/cron.php(147): wp_schedule_event(1465693991, 'nxsreposter', 'nxs_querypost_e...', Array)
    #7 /srv/www/example.com/wp-cron.php(103): wp_reschedule_event(14656939" while reading response header from upstream, client: 2400:8900:xxx:xxx::100, server: www.example.com, request: "POST /wp-cron.php?doing_wp_cron=1465693902.3811419010162353515625 HTTP/1.0", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "www.example.com"

    (I’ve replaced the domain names with example.com)

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught PDOException PHP 7.0.7’ is closed to new replies.