質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
PHP

PHPは、Webサイト構築に特化して開発されたプログラミング言語です。大きな特徴のひとつは、HTMLに直接プログラムを埋め込むことができるという点です。PHPを用いることで、HTMLを動的コンテンツとして出力できます。HTMLがそのままブラウザに表示されるのに対し、PHPプログラムはサーバ側で実行された結果がブラウザに表示されるため、PHPスクリプトは「サーバサイドスクリプト」と呼ばれています。

Twig

Twig は、簡潔で可読性の高いテンプレートを記述することができ、 シンプルに記述することを目的として作られた PHPテンプレートエンジンです。

EC-CUBE

EC-CUBEは、主に日本国内で開発されているECコンテンツ管理システムです。ロックオン社のECKitを元にしてオープンソース化され、商品管理・受注管理・顧客管理・売上集計などECに特化した様々な機能を備えています。

Q&A

解決済

1回答

2875閲覧

【EC-CUBE3.0.15】受注マスターでシステムエラーになります。解決策が知りたいです。

YBL

総合スコア9

PHP

PHPは、Webサイト構築に特化して開発されたプログラミング言語です。大きな特徴のひとつは、HTMLに直接プログラムを埋め込むことができるという点です。PHPを用いることで、HTMLを動的コンテンツとして出力できます。HTMLがそのままブラウザに表示されるのに対し、PHPプログラムはサーバ側で実行された結果がブラウザに表示されるため、PHPスクリプトは「サーバサイドスクリプト」と呼ばれています。

Twig

Twig は、簡潔で可読性の高いテンプレートを記述することができ、 シンプルに記述することを目的として作られた PHPテンプレートエンジンです。

EC-CUBE

EC-CUBEは、主に日本国内で開発されているECコンテンツ管理システムです。ロックオン社のECKitを元にしてオープンソース化され、商品管理・受注管理・顧客管理・売上集計などECに特化した様々な機能を備えています。

0グッド

0クリップ

投稿2018/07/13 17:01

編集2018/07/13 22:20

はじめまして。

当方、EC-CUBEを利用してショップを運営しております。

管理画面上でシステムエラーが出てしまったため改修したいのですが、
勉強不足で知識が乏しく、何をしらた良いか見当もつかないため、
どうしたら正常に作動するかご教示頂けますと幸いです。

情報不足などあるかもしれませんが、どうぞよろしくお願い致します。

システム情報

【EC-CUBE】3.0.15 【DBサーバー】MySQL 5.6.23 【WEBサーバー】Apache 【PHP】7.1.5

システムエラー画面が出現するまでの過程

【パターン①】受注マスター ⇒ 対応状況で絞って検索 ⇒ 表示件数を変更 ⇒ システムエラー 【パターン②】受注マスター ⇒ 検索 ⇒ 表示件数を変更 ⇒ 対応状況で絞って検索 ⇒ 次へ ⇒ システムエラー

発生している問題・エラーメッセージ

システムエラーが発生しました。 大変お手数ですが、サイト管理者までご連絡ください。

ログ

[2018-07-13 12:54:11,325258] admin.ERROR [3c64a809] [069ac9b7] [2] [EccubeExceptionHandler:handle:44] - Call to a member function toArray() on array [{"namespace":"","short_class":"","class":"","type":"","function":"","file":"/home/users/0/main.jp-**********/web/shop/src/Eccube/Repository/OrderRepository.php","line":300,"args":[]},{"namespace":"Eccube\Repository","short_class":"OrderRepository","class":"Eccube\Repository\OrderRepository","type":"->","function":"getQueryBuilderBySearchDataForAdmin","file":"/home/users/0/main.jp-**********/web/shop/app/Plugin/AmazonPayments/AmazonPayments.php","line":499,"args":[["array",{"multi":["string",""],"multi_status":["array",[["string","1"],["string","2"],["string","6"]]],"name":["string",""],"email":["string",""],"tel":["string",""],"sex":["array",[]],"payment":["array",[]],"order_date_start":["string",""],"order_date_end":["string",""],"payment_date_start":["string",""],"payment_date_end":["string",""],"commit_date_start":["string",""],"commit_date_end":["string",""],"update_date_start":["string",""],"update_date_end":["string",""],"payment_total_start":["string",""],"payment_total_end":["string",""],"buy_product_name":["string",""],"kana":["string",""]}]]},{"namespace":"Plugin\AmazonPayments","short_class":"AmazonPayments","class":"Plugin\AmazonPayments\AmazonPayments","type":"->","function":"AdminAmazonOrderRender","file":null,"line":null,"args":[["object","Symfony\Component\HttpKernel\Event\FilterResponseEvent"],["string","eccube.event.render.admin_order_page.before"],["object","Symfony\Component\EventDispatcher\EventDispatcher"]]},{"namespace":"","short_class":"","class":"","type":"","function":"call_user_func","file":"/home/users/0/main.jp-**********/web/shop/vendor/symfony/event-dispatcher/EventDispatcher.php","line":161,"args":[["array",[["object","Plugin\AmazonPayments\AmazonPayments"],["string","AdminAmazonOrderRender"]]],["object","Symfony\Component\HttpKernel\Event\FilterResponseEvent"],["string","eccube.event.render.admin_order_page.before"],["object","Symfony\Component\EventDispatcher\EventDispatcher"]]},{"namespace":"Symfony\Component\EventDispatcher","short_class":"EventDispatcher","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","function":"doDispatch","file":"/home/users/0/main.jp-**********/web/shop/vendor/symfony/event-dispatcher/EventDispatcher.php","line":46,"args":[["array",[["array",[["object","Plugin\OrderPdf\OrderPdfEvent"],["string","onRenderAdminOrderPdfBefore"]]],["array",[["object","Plugin\AmazonPayments\AmazonPayments"],["string","AdminAmazonOrderRender"]]]]],["string","eccube.event.render.admin_order_page.before"],["object","Symfony\Component\HttpKernel\Event\FilterResponseEvent"]]},{"namespace":"Symfony\Component\EventDispatcher","short_class":"EventDispatcher","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","function":"dispatch","file":"/home/users/0/main.jp-**********/web/shop/src/Eccube/Application.php","line":704,"args":[["string","eccube.event.render.admin_order_page.before"],["object","Symfony\Component\HttpKernel\Event\FilterResponseEvent"]]},{"namespace":"Eccube","short_class":"Application","class":"Eccube\Application","type":"->","function":"Eccube\{closure}","file":null,"line":null,"args":[["object","Symfony\Component\HttpKernel\Event\FilterResponseEvent"],["string","kernel.response"],["object","Symfony\Component\EventDispatcher\EventDispatcher"]]},{"namespace":"","short_class":"","class":"","type":"","function":"call_user_func","file":"/home/users/0/main.jp-**********/web/shop/vendor/symfony/event-dispatcher/EventDispatcher.php","line":161,"args":[["object","Closure"],["object","Symfony\Component\HttpKernel\Event\FilterResponseEvent"],["string","kernel.response"],["object","Symfony\Component\EventDispatcher\EventDispatcher"]]},{"namespace":"Symfony\Component\EventDispatcher","short_class":"EventDispatcher","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","function":"doDispatch","file":"/home/users/0/main.jp-**********/web/shop/vendor/symfony/event-dispatcher/EventDispatcher.php","line":46,"args":[["array",[["array",[["object","Silex\EventListener\MiddlewareListener"],["string","onKernelResponse"]]],["array",[["object","Symfony\Component\HttpKernel\EventListener\ResponseListener"],["string","onKernelResponse"]]],["object","Closure"],["object","Closure"],["object","Closure"],["array",[["object","Eccube\EventListener\RequestDumpListener"],["string","onResponse"]]],["array",[["object","Eccube\EventListener\LogListener"],["string","onKernelResponse"]]],["array",[["object","Silex\EventListener\LogListener"],["string","onKernelResponse"]]],["array",[["object","Symfony\Component\HttpKernel\EventListener\SurrogateListener"],["string","onKernelResponse"]]],["array",[["object","Symfony\Component\Security\Http\RememberMe\ResponseListener"],["string","onKernelResponse"]]],["array",[["object","Symfony\Component\Security\Http\Firewall\ContextListener"],["string","onKernelResponse"]]],["object","Closure"]]],["string","kernel.response"],["object","Symfony\Component\HttpKernel\Event\FilterResponseEvent"]]},{"namespace":"Symfony\Component\EventDispatcher","short_class":"EventDispatcher","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","function":"dispatch","file":"/home/users/0/main.jp-**********/web/shop/vendor/symfony/http-kernel/HttpKernel.php","line":184,"args":[["string","kernel.response"],["object","Symfony\Component\HttpKernel\Event\FilterResponseEvent"]]},{"namespace":"Symfony\Component\HttpKernel","short_class":"HttpKernel","class":"Symfony\Component\HttpKernel\HttpKernel","type":"->","function":"filterResponse","file":"/home/users/0/main.jp-**********/web/shop/vendor/symfony/http-kernel/HttpKernel.php","line":166,"args":[["object","Symfony\Component\HttpFoundation\Response"],["object","Symfony\Component\HttpFoundation\Request"],["string","1"]]},{"namespace":"Symfony\Component\HttpKernel","short_class":"HttpKernel","class":"Symfony\Component\HttpKernel\HttpKernel","type":"->","function":"handleRaw","file":"/home/users/0/main.jp-**********/web/shop/vendor/symfony/http-kernel/HttpKernel.php","line":64,"args":[["object","Symfony\Component\HttpFoundation\Request"],["string","1"]]},{"namespace":"Symfony\Component\HttpKernel","short_class":"HttpKernel","class":"Symfony\Component\HttpKernel\HttpKernel","type":"->","function":"handle","file":"/home/users/0/main.jp-**********/web/shop/vendor/silex/silex/src/Silex/Application.php","line":586,"args":[["object","Symfony\Component\HttpFoundation\Request"],["string","1"],["boolean",true]]},{"namespace":"Silex","short_class":"Application","class":"Silex\Application","type":"->","function":"handle","file":"/home/users/0/main.jp-**********/web/shop/vendor/silex/silex/src/Silex/Application.php","line":563,"args":[["object","Symfony\Component\HttpFoundation\Request"]]},{"namespace":"Silex","short_class":"Application","class":"Silex\Application","type":"->","function":"run","file":"/home/users/0/main.jp-**********/web/shop/index.php","line":57,"args":[]}] [GET, /admin/order/page/1?page_count=100, **.***.***.**, https://******.jp/admin/order, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36]

前提・実現したいこと

エラー画面ではなく、正しく表示されるようにしたいです。
情報の過不足などあるかと思いますが、アドバイスを頂けますと幸いです。
どうぞよろしくお願い致します。

追記

どの時点でエラーが生じるようになったのか不明なため、「戻す」といったことは致しておりませんが
一部のプラグインを削除したりと、できる限りのことは試しましたが改善はみられませんでした。
また、条件を絞らず検索した場合には問題なく表示され、エラーは起きません。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

sysjojo

2018/07/13 20:27

エラーが起きるようになった変更箇所は、変更前の値の戻すとエラーは解消しますか?変更内容を一部オミットしても(「対応状況を絞って検索」をやらない、とか)エラーは発生しますか?
m.ts10806

2018/07/13 20:41

「EC-CUBE」もタグに追加しておいてください。
YBL

2018/07/13 22:17

お二方ともありがとうございます。ご指摘頂いた内容を追記致しました。どうぞよろしくお願い致します。
退会済みユーザー

退会済みユーザー

2018/07/13 22:42

EC-CUBEは3になっても魔境だな。なんだよ、この頭の悪そうなエラーログは…。こんなん出されるくらいなら、スタックトレースそのまま出しとけよ…。
退会済みユーザー

退会済みユーザー

2018/07/13 22:42

元々作った会社の奴らも、買い取って回収した奴らも役に立たねぇなぁ…。
YBL

2018/07/13 23:32

アドバイスをいただきありがとうございます。ご指示いただいた通り、アマゾンペイのプラグインを無効化してみたところ、問題なく表示されるようになりました!ありがとうございます!プラグインは、ご提示いただいたものではなく、ストアを介さずに提供元から直接メールで送っていただいた、バージョンの古いものになるかと思います。
sysjojo

2018/07/13 23:44

ログ眺めた感じ、「対応状況を絞って」の辺りは怪しい気がしたのとAmazonPaymentのプラグインは怪しい感じしますね。他のプラグインとの併用で問題が出るような記事も見つかりますし。
退会済みユーザー

退会済みユーザー

2018/07/13 23:54

ほんと、EC-CUBEとか使ってる人は、何の修行してんだよ?いつも質問見てて思う。本当に便利だと思って使ってんのかね?
YBL

2018/07/14 00:17

sys jo jo様>ご確認くださりありがとうございました。他のプラグインとの併用でエラーが生じるている可能性もあるのですね…。いただいた情報も含め、プラグイン提供元に確認してみたいと思います!ありがとうございます。
YBL

2018/07/14 00:18

lucker様>ご確認ありがとうございました。ある制作会社さんから勧められ、EC-CUBEを使用することになりましたが、別のカートシステム導入も検討したいと思います。この度はありがとうございました。
退会済みユーザー

退会済みユーザー

2018/07/14 00:24

いや、俺にお礼しなくていい。俺、野次飛ばしてただけだし。EC-CUBEがどんな感じで今に至ってるのかなんとなく知ってるからさ、やってる事が適当だよなーって思ってるだけ。
guest

回答1

0

ベストアンサー

ログ情報および切り分けいただいた結果からAmazonPaymentsのプラグインが原因と考えられます。
提供元にご確認ください。

投稿2018/07/13 23:34

xenbeat

総合スコア4258

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

YBL

2018/07/13 23:38

的確なアドバイスをくださりありがとうございました。本当に助かりました。提供元に確認してみたいと思います。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問