I have been getting this error message now for the last 5 weeks. I have contacted my last hosting company (inmotion) and my current hosting company (namehero) both of them didn’t fix it. Now I am asking for your support on how to fix it. I appreciated if you could fix it soon please. I want to reinstall my theme to match the updated version. Thanks.
Hello,
We were unable to create a backup of your website due to the following:
Fatal error: Uncaught Error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in /home/[redacted]/public_html/wp-content/plugins/boldgrid-backup/vendor/ifsnop/mysqldump-php/src/Ifsnop/Mysqldump/Mysqldump.php:179
Stack trace:
#0 /home/[redacted/public_html/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-db-dump.php(125): Ifsnop\Mysqldump\Mysqldump->__construct('mysql:host=loca...', 'redacted...', 'redacted', Array)
#1 /home/redacted/public_html/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php(1209): Boldgrid_Backup_Admin_Db_Dump->dump('/home/redacted/...')
#2 /home/redacted/public_html/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php(1716): Boldgrid_Backup_Admin_Core->backup_database()
#3 /home/redacted/public_html/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php(3016): Boldgrid_Backup_Admin_Core->archive_files(true)
#4 /home/redacted/public_html/wp-includes/class-wp-hook.php(289): Boldgrid_Backup_Ad in /home/redacted/public_html/wp-content/plugins/boldgrid-backup/vendor/ifsnop/mysqldump-php/src/Ifsnop/Mysqldump/Mysqldump.php on line 179
Best regards,
The Total Upkeep plugin