I installed cscart_v4.15.2_b2b, admin panel not shown properly

I installed cscart_v4.15.2_b2b on a VPS
with
PHP Version 8.0.26
Apache/2.4.37 (AlmaLinux 8.7)
I didn t got any error during installation. I don t see any errors in logs, more precisely log file is not present.
The addmin panel is not displaying properly see here:

If I click page source for the admin page at the botton of the page I see:

TypeError

Message
Cannot access offset of type string on string

Error at
var/cache/templates/backend/467745d577c2b9ae6103e0c4d48d0fd9cb5913cf_2.tygh.image.pre.tpl.php, line: 28

Backtrace
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php
Line:123
Function:content_63b458677975d0_58085320

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php
Line:114
Function:getRenderedTemplateCode

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:216
Function:render

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:238
Function:render

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:116
Function:_execute

File:app/functions/smarty_plugins/block.hook.php
Line:129
Function:fetch

File:var/cache/templates/backend/d1b67d26a76a9cfa0153e93053e76f279e826829_2.tygh.image.tpl.php
Line:53
Function:smarty_block_hook

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php
Line:123
Function:content_63b458679021b2_27451686

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php
Line:114
Function:getRenderedTemplateCode

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:216
Function:render

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:385
Function:render

File:var/cache/templates/backend/38d1507a8ea775001d1013e0cea02b41e5bcc1a1_2.tygh.presets.tpl.php
Line:85
Function:_subTemplateRender

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php
Line:123
Function:content_63b458678d3b95_06750730

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php
Line:114
Function:getRenderedTemplateCode

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:216
Function:render

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:385
Function:render

File:var/cache/templates/backend/3a1d7a50b853f713dce95db61e8072f7c5ad3e76_2.tygh.mainbox.tpl.php
Line:244
Function:_subTemplateRender

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php
Line:123
Function:content_63b45867859a72_34474198

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php
Line:114
Function:getRenderedTemplateCode

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:216
Function:render

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:385
Function:render

File:var/cache/templates/backend/2ed5f863d182e318a594d3dc8d98d01f58b3b962_2.tygh.index.tpl.php
Line:45
Function:_subTemplateRender

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php
Line:123
Function:content_63b458677f0426_45067488

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php
Line:114
Function:getRenderedTemplateCode

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:216
Function:render

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:385
Function:render

File:var/cache/templates/backend/e501549f0946aab2ffa6d73f5f71a6763dd4ea5e_2.tygh.index.tpl.php
Line:109
Function:_subTemplateRender

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php
Line:123
Function:content_63b458675fbe76_46649033

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php
Line:114
Function:getRenderedTemplateCode

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:216
Function:render

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:238
Function:render

File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:116
Function:_execute

File:app/Tygh/SmartyEngine/Core.php
Line:81
Function:fetch

File:app/functions/fn.control.php
Line:632
Function:fetch

File:admin.php
Line:27
Function:fn_dispatch


-->

Any idee why is this happening?

Try to temporary reduce php version, clear cache and check the result

2 Likes

It works on php 7.4 but not in PHP Version 8.0.26…
what can I do? I don t want to use old php

2 Likes

Please contact CS-Cart support team with this issue

1 Like