ありがとうございます。
エラーログを以下となりますが、プラグイン関係がありますか。
そうすると、どのように修正したほうがいいですか。
EC-CUBE2.17.2もPHP8で稼働ですね。なぜか動かないかわからないです。
2023/02/03 17:44:42 [/user_data/shopping_guide.php] Fatal error(E_ERROR): Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in D:\laragon\www\ec-cube2\data\Smarty\templates_c\production\0d9a588a4a3948ef778c2847f0f7c1c27a8690dc_0.file.site_main.tpl.php:63
Stack trace:
#0 D:\laragon\www\ec-cube2\data\vendor\smarty\smarty\libs\sysplugins\smarty_template_resource_base.php(123): content_63dcc7b2953b48_03779781(Object(Smarty_Internal_Template))
#1 D:\laragon\www\ec-cube2\data\vendor\smarty\smarty\libs\sysplugins\smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#2 D:\laragon\www\ec-cube2\data\vendor\smarty\smarty\libs\sysplugins\smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#3 D:\laragon\www\ec-cube2\data\vendor\smarty\smarty\libs\sysplugins\smarty_internal_template.php(385): Smarty_Internal_Template->render()
#4 D:\laragon\www\ec-cube2\data\Smarty\templates_c\production\02b44be89f725bf624afd44db953c76a9f72612e_0.file.site_frame.tpl.php(213): Smarty_Internal_Template->_subTemplateRender('file:./site_mai...', NULL, NULL, 0, 3600, Array, 0, false)
#5 D:\laragon\www\ec-cube2\data\vendor\smarty\smarty\libs\sysplugins\smarty_template_resource_base.php(123): content_63dcb3d04dbd84_37446717(Object(Smarty_Internal_Template))
#6 D:\laragon\www\ec-cube2\data\vendor\smarty\smarty\libs\sysplugins\smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#7 D:\laragon\www\ec-cube2\data\vendor\smarty\smarty\libs\sysplugins\smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#8 D:\laragon\www\ec-cube2\data\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 0)
#9 D:\laragon\www\ec-cube2\data\vendor\smarty\smarty\libs\sysplugins\smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0)
#10 D:\laragon\www\ec-cube2\data\class\SC_View.php(113): Smarty_Internal_TemplateBase->fetch('site_frame.tpl')
#11 D:\laragon\www\ec-cube2\data\class\SC_Display.php(80): SC_View->getResponse('site_frame.tpl')
#12 D:\laragon\www\ec-cube2\data\class\pages\LC_Page.php(411): SC_Display->prepare(Object(LC_Page_User))
#13 D:\laragon\www\ec-cube2\user_data\shopping_guide.php(31): LC_Page->sendResponse()
#14 D:\laragon\www\ec-cube2\user_data\shopping_guide.php(56): LC_Page_User->process()
#15 {main}
thrown on [D:\laragon\www\ec-cube2\data\Smarty\templates_c\production\0d9a588a4a3948ef778c2847f0f7c1c27a8690dc_0.file.site_main.tpl.php(63)] from 127.0.0.1
customer_id =