Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up, optimizing and repairing of database.
I was getting a critical error viewing the "Manage Backup DB" page ( wp-admin/admin.php?page=wp-dbmanager%2Fdatabase-manage.php ). The wp-content/debug.log showed a Fatal error in line 308 of wp-dbmanager.php.
PHP Fatal error: Uncaught TypeError: gmdate(): Argument #2 ($timestamp) must be of type ?int, string given in /var/www/vhosts/limestonefederal.com/httpdocs/wp-content/plugins/wp-dbmanager/wp-dbmanager.php:308
I figured out i had caused this error by using wp-cli db export to create manual db exports inside the wp-content/backup-db/ directory perhaps because they used a different filename convention than expected by this plugin? Moving the files out of this directory resolved the error.
I definitely caused the issue, but it might be a nice improvement if the plugin could handle this with a warning instead of a Fatal php "critical error" on the frontend ui.
I was getting a critical error viewing the "Manage Backup DB" page ( wp-admin/admin.php?page=wp-dbmanager%2Fdatabase-manage.php ). The wp-content/debug.log showed a Fatal error in line 308 of wp-dbmanager.php.
I figured out i had caused this error by using
wp-cli db export
to create manual db exports inside the wp-content/backup-db/ directory perhaps because they used a different filename convention than expected by this plugin? Moving the files out of this directory resolved the error.I definitely caused the issue, but it might be a nice improvement if the plugin could handle this with a warning instead of a Fatal php "critical error" on the frontend ui.
Thanks for all the work on this essential plugin!