Blank pages on back-end - Addons, Themes, etc

hy all,
after we try to change theme, from back-end, we got it a blank pages…
same on addons and more back-end functionality

Try to check server error logs or enable DEVELOPMENT mode is CS-Cart to see error details

1 Like

PHP Warning


Undefined array key “classyshop”

Error at

app/functions/fn.common.php, line: 1589


File: app/functions/fn.common.php
Line: 1589
Function: {closure}
File: app/controllers/backend/themes.php
Line: 268
Function: fn_get_available_themes
File: app/functions/fn.control.php
Line: 722
Function: include
File: app/functions/fn.control.php
Line: 458
Function: fn_run_controller
File: afc.php
Line: 27
Function: fn_dispatch

there is a way to redefine template from php?

at the end… i took the final solution and restore from a last backup… but now i have error on front-end



Syntax error in template “tygh:/home/customer/www/” on line 4 “{foreach from=$items item=“item” name=$foreach_name}” ‘name’ attribute/variable has illegal value

Error at

app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php, line: 4


i try to restore from repository… no succes


Try removing the name=$foreach_name from the mentioned line in that file. You may also want to contact the developers of this theme about this issue.

1 Like