Upgrade error - see below

Upgrade 4.21.1 - 4.21.2

  • Sep 22, 2026
  • 13,037 Kb

Validation issue

Validator “Backup” returned fail status

File
The database tables have not been backed up

PLEASE ADVISE

Hello

That’s not really a validator. The upgrade tries to zip a backup of your files and database first, and that zip never got created.

The reason is in var/upgrade/<package_id>_log.txt. Usually it’s a timeout on a bigger database or no space in var/backups.

Fastest fix: take a backup on the hosting side, then tick Skip files and database backup and run the upgrade again. Also check your storefront isn’t left closed, the upgrade closes it before the backup step.

Best regards
Robert

1 Like

I went through all the steps. I didn’t see where to tick OFF Database backup .

and HOW DO I INCREASE THE TIME LIMITS?

Hello

You can turn that checkbox on yourself. Open config.php in the store root and uncomment this line:

define(‘DEVELOPMENT’, true);

Reload the Upgrade Center and the Skip files and database backup checkbox will be there. Make your own backup on the hosting side first, then run the upgrade and keep the tab open until it finishes.

Comment the line out again right after, development mode also turns on PHP error output.

Best regards
Robert

1 Like

yes it worked
Also i get these script errors all the time
when in dev mode
i have to turn it off so i believe there is a problem with YOUR SCRIPT
see this

cated

Message

Creation of dynamic property Tygh\UpgradeCenter\Connectors\CscPaypalCheckout\Connector::$addon_version is deprecated

Error at

app/addons/csc_paypal_checkout/Tygh/UpgradeCenter/Connectors/CscPaypalCheckout/Connector.php, line: 20

Backtrace

File: app/addons/csc_paypal_checkout/Tygh/UpgradeCenter/Connectors/CscPaypalCheckout/Connector.php
Line: 20
Function: {closure}
File: app/Tygh/UpgradeCenter/App.php
Line: 1369
Function: __construct
File: app/Tygh/UpgradeCenter/App.php
Line: 397
Function: getConnectors
File: app/controllers/backend/upgrade_center.php
Line: 300
Function: checkUpgrades
File: app/functions/fn.control.php
Line: 729
Function: include
File: app/functions/fn.control.php
Line: 460
Function: fn_run_controller
File: admin.php
Line: 27
Function: fn_dispatch

PHP Deprecated

Message

Creation of dynamic property Tygh\UpgradeCenter\Connectors\CscPaypalCheckout\Connector::$product_url is deprecated

Error at

app/addons/csc_paypal_checkout/Tygh/UpgradeCenter/Connectors/CscPaypalCheckout/Connector.php, line: 25

Backtrace

File: app/addons/csc_paypal_checkout/Tygh/UpgradeCenter/Connectors/CscPaypalCheckout/Connector.php
Line: 25
Function: {closure}
File: app/Tygh/UpgradeCenter/App.php
Line: 1369
Function: __construct
File: app/Tygh/UpgradeCenter/App.php
Line: 397
Function: getConnectors
File: app/controllers/backend/upgrade_center.php
Line: 300
Function: checkUpgrades
File: app/functions/fn.control.php
Line: 729
Function: include
File: app/functions/fn.control.php
Line: 460
Function: fn_run_controller
File: admin.php
Line: 27
Function: fn_dispatch

Good to hear it worked.

Those messages aren’t from the upgrade itself. They come from the csc_paypal_checkout add-on, which is a third-party module, not part of CS-Cart. They’re only PHP 8.2 deprecation notices about its connector class, harmless, and you only see them because development mode shows every notice. With the line commented out again they’re gone. If they bother you, the add-on’s developer can fix that file.

One more thing: your post shows the renamed admin file name in the backtrace. I’d edit it out, that name is what keeps bots away from your admin login.

Best regards
Robert

1 Like