cancel
Showing results for 
Search instead for 
Did you mean: 

Warning: Division by zero in /var/www/magento/vendor/magento/module-backup/Model/Db.php on line 156

Warning: Division by zero in /var/www/magento/vendor/magento/module-backup/Model/Db.php on line 156

I try to start a DB backup via:

php bin/magento setup:backup --db

But I get this error:

 

Enabling maintenance mode
DB backup is starting...
Warning: Division by zero in /var/www/magento/vendor/magento/module-backup/Model/Db.php on line 156
Disabling maintenance mode
PHP Fatal error:  Uncaught Exception: User Error: Some transactions have not been committed or rolled back in /var/www/magento/vendor/magentframework/DB/Adapter/Pdo/Mysql.php on line 3774 in /var/www/magento/vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:
#0 [internal function]: Magento\Framework\App\ErrorHandler->handler(256, 'Some transactio...', '/var/www/magent...', 3774, Array)
#1 /var/www/magento/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(3774): trigger_error('Some transactio...', 256)
#2 [internal function]: Magento\Framework\DB\Adapter\Pdo\Mysql->__destruct()
#3 {main}
  thrown in /var/www/magento/vendor/magento/framework/App/ErrorHandler.php on line 61

My Magento version: 2.1.1

It's the same via the web interface.

Any help for me here?

 

Thanks in advance.

Best regards

Mirko

1 REPLY

Re: Warning: Division by zero in /var/www/magento/vendor/magento/module-backup/Model/Db.php on line

No other comment?

I updated now to Magento 2.1.2 - the same error.