バージョン選択

フォーラム

メニュー

オンライン状況

84 人のユーザが現在オンラインです。 (69 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 84
もっと...

サイト内検索

バグ報告 > フロント機能 > 2.17.2 PHP8.0 「お問い合わせ」画面でシステムエラー

フロント機能

新規スレッドを追加する

スレッド表示 | 古いものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
nanasess
投稿日時: 2022/3/26 13:26
対応状況: −−−
登録日: 2006/9/9
居住地:
投稿: 2303
Re: 2.17.2 PHP8.0 「お問い合わせ」画面でシステムエラー
ありがとうございます。以下 Pull Request しておきました
https://github.com/EC-CUBE/ec-cube2/pull/536
kazz_oga
投稿日時: 2022/3/26 8:58
対応状況: 確認中
一人前
登録日: 2013/8/5
居住地: 東京都北区赤羽西
投稿: 144
2.17.2 PHP8.0 「お問い合わせ」画面でシステムエラー
▼テンプレート
[EC-CUBE] 2.17.2
[レンタルサーバ] localhost
[OS] MacOS 12.1
[PHP] PHP8.0
[データベース] MySQL 5.7.29
[WEBサーバ] Apache/2.4.46
[ブラウザ] safari 15.2
[現象]
PHP8.0で「お問い合わせ」画面で「お問い合わせ内容」を省略して、「確認ページへ」を押すとシステムエラーとなる。
PHP7.4ならこの現象は発生しない。

<error.logの内容>
2022/03/26 08:38:37 [/eccube-2/html/contact/index.php] Fatal error(E_ERROR): Uncaught TypeError: Cannot access offset of type string on string in /XXXXX/data/Smarty/templates_c/default/a6b601a572db0ab44c8ea6c4be47feb33ac4074d_0.file.index.tpl.php:186
Stack trace:
#0 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_623d69b4085fe1_59811840(Object(Smarty_Internal_Template))
#1 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#2 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#3 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#4 /XXXXX/data/Smarty/templates_c/default/06128250d2e6675bbdf8d6f97d24728a6ae4e592_0.file.site_main.tpl.php(90): Smarty_Internal_Template->_subTemplateRender('/Users/kazz_oga...', NULL, NULL, 0, 3600, Array, 0, true)
#5 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_623d69af4bc459_04505133(Object(Smarty_Internal_Template))
#6 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#7 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#8 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#9 /XXXXX/data/Smarty/templates_c/default/9bdf202a499da7121ffbb15e24e901f4c9c77213_0.file.site_frame.tpl.php(126): Smarty_Internal_Template->_subTemplateRender('file:./site_mai...', NULL, NULL, 0, 3600, Array, 0, false)
#10 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_623d69af411256_54187108(Object(Smarty_Internal_Template))
#11 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#12 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#13 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 0)
#14 /XXXXX/data/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0)
#15 /XXXXX/data/class/SC_View.php(113): Smarty_Internal_TemplateBase->fetch('site_frame.tpl')
#16 /XXXXX/data/class/SC_Display.php(80): SC_View->getResponse('site_frame.tpl')
#17 /XXXXX/data/class/pages/LC_Page.php(376): SC_Display->prepare(Object(LC_Page_Contact_Ex))
#18 /XXXXX/data/class/pages/contact/LC_Page_Contact.php(68): LC_Page->sendResponse()
#19 /XXXXX/data/class_extends/page_extends/contact/LC_Page_Contact_Ex.php(54): LC_Page_Contact->process()
#20 /XXXXX/html/contact/index.php(28): LC_Page_Contact_Ex->process()
#21 {main}
thrown on [/XXXXX/data/Smarty/templates_c/default/a6b601a572db0ab44c8ea6c4be47feb33ac4074d_0.file.index.tpl.php(186)] from ::1
customer_id =
スレッド表示 | 古いものから 前のトピック | 次のトピック | トップ


 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,307名です
総投稿数は109,692件です

投稿数ランキング

1
seasoft
7365
2
468
3217
3
AMUAMU
2712
4
nanasess
2303
5
umebius
2085
6
yuh
1818
7
h_tanaka
1610
8
red
1568
9
mcontact
1240
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
796
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.