バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > その他 > 帳票PDFプラグイン|4.2.2|ReportPdf2Ft の設定ボタンを押すとエラーが発生

その他

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
iidaatcnt
投稿日時: 2023/10/28 20:13
対応状況: −−−
新米
登録日: 2023/10/19
居住地: 日本
投稿: 3
帳票PDFプラグイン|4.2.2|ReportPdf2Ft の設定ボタンを押すとエラーが発生
[EC-CUBE]
EC-CUBE4.2
新規インストール
テスト環境
EC-CUBE4.1からマイグレーション中

[レンタルサーバ] さくらインターネットスタンダードプラン

[OS] FreeBSD 13.0-RELEASE-p13 amd64

[PHP] 8.1.24 (モジュールモード)

[データベース] MySQL 5.7

[WEBサーバ] Apache/2.4.54

[ブラウザ] chrome バージョン: 118.0.5993.117(Official Build) (64 ビット)

[導入プラグインの有無] 有
| プラグイン名 | バージョン | コード |
|--------------------------------------|------------|---------------------|
| Coupon Plugin for EC-CUBE42 | 4.2.4 | Coupon42 |
| 簡単定休日カレンダー | 1.1.0 | FwEasyHoliday42 |
| 商品問い合わせ for EC-CUBE4(4.2系) | 1.1.1 | ProductContact42 |
| Cookie同意管理プラグイン(4.2系) | 4.2.1 | RefineCookie42 |
| 新着商品表示プラグイン | 4.2.1 | RefineNewProduct42 |
| 帳票PDFプラグイン | 4.2.2 | ReportPdf2Ft |
| Site Kit プラグイン | 4.2.2 | SiteKit42 |

[カスタマイズの有無] 有
・テンプレートdefaultをコピーしてオリジナルテンプレートでカスタイマイズ中
・ブロック追加してます
・デバッグ設定中

[現象]
帳票PDFプラグイン|4.2.2|ReportPdf2Ft の設定ボタンを押すとエラーが発生。
Symfony Exception
InvalidArgumentException
HTTP 500 Internal Server Error
The parameter "product_review_display_count_min" must be defined.

[私的な見解]
product_review_display_count_min
はプラグインの定数でservices.yamlか.envから読み込む前提になっているが何か問題があってそれができてない

[私が試したこと]
[ec-cube4.2]/app/Plugin/ReportPdf2Ftにservices.yamlないので
.envファイルに
product_review_display_count_min=1と書いてみたが結果は変わらず。
php -d memory_limit=-1 bin/console cache:clear --env=dev
しても同じでした。プラグイン作者のメアドが載っていたのでメールを送ってみましたがまだ返事がありません。


どなたかこの事象を解決できた方がいたらご教示ください。
mcontact
投稿日時: 2023/10/30 8:15
対応状況: −−−
登録日: 2022/1/22
居住地:
投稿: 1299
Re: 帳票PDFプラグイン|4.2.2|ReportPdf2Ft の設定ボタンを押すとエラーが発生
C-CUBEログを確認できますか?
どのようなエラーが出ますでしょうか?
EC-CUBEのログであれば、var/log/dev/site-yyyy-mm-dd.log に「システムエラーが発生しました」や「ERROR」といった行がありましたらご提示ください。


----------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
EC-CUBEインテグレートパートナー【ゴールド】ランク
M&I Works
URL: https://miworks.biz/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

iidaatcnt
投稿日時: 2023/10/31 15:03
対応状況: 確認中
新米
登録日: 2023/10/19
居住地: 日本
投稿: 3
Re: 帳票PDFプラグイン|4.2.2|ReportPdf2Ft の設定ボタンを押すとエラーが発生
コメントありがとうございます!

ログファイルの抜粋を貼りました。不足あればお知らせください。

% grep ReportPdf2Ft ./var/log/dev/site.log > ReportPdf2Ft_20231031.txt

"Plugin\ReportPdf2Ft\ReportPdf2FtEvent" now to avoid errors or add an explicit @return annotation
--> exception: "O:14:\"ErrorException\":8:{s:10:\"\0*\0message\";s:330:\"User Deprecated: Method \"Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents()\" might add \"array\" as a native return type declaration in the future. Do the same in implementation \"Plugin\\ReportPdf2Ft\\ReportPdf2FtEvent\" now to avoid errors or add an explicit @return annotation to suppress this message.\";s:17:\"\0Exception\0string\";s:0:\"\";s:7:\"\0*\0code\";i:0;s:7:\"\0*\0file\";s:74:\"/home/cntsvllc/www/ec42x/vendor/symfony/error-handler/DebugClassLoader.php\";s:7:\"\0*\0line\";i:326;s:16:\"\0Exception\0trace\";a:14:{i:0;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:245;s:8:\"function\";s:26:\"ContainerJyEumos\\{closure}\";s:5:\"class\";s:47:\"ContainerJyEumos\\Eccube_KernelDevDebugContainer\";s:4:\"type\";s:2:\"->\";}i:1;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:84;s:8:\"function\";s:13:\"sortListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:2;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:102;s:8:\"function\";s:12:\"getListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:3;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:198;s:8:\"function\";s:12:\"getListeners\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:4;a:5:{s:4:\"file\";s:88:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/DataCollector/EventDataCollector.php\";s:4:\"line\";i:65;s:8:\"function\";s:21:\"getNotCalledListeners\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:5;a:5:{s:4:\"file\";s:73:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/Profiler/Profiler.php\";s:4:\"line\";i:97;s:8:\"function\";s:11:\"lateCollect\";s:5:\"class\";s:61:\"Symfony\\Component\\HttpKernel\\DataCollector\\EventDataCollector\";s:4:\"type\";s:2:\"->\";}i:6;a:5:{s:4:\"file\";s:86:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/EventListener/ProfilerListener.php\";s:4:\"line\";i:135;s:8:\"function\";s:11:\"saveProfile\";s:5:\"class\";s:46:\"Symfony\\Component\\HttpKernel\\Profiler\\Profiler\";s:4:\"type\";s:2:\"->\";}i:7;a:5:{s:4:\"file\";s:82:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/WrappedListener.php\";s:4:\"line\";i:117;s:8:\"function\";s:17:\"onKernelTerminate\";s:5:\"class\";s:59:\"Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener\";s:4:\"type\";s:2:\"->\";}i:8;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:230;s:8:\"function\";s:8:\"__invoke\";s:5:\"class\";s:55:\"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener\";s:4:\"type\";s:2:\"->\";}i:9;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:59;s:8:\"function\";s:13:\"callListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:10;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:154;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:11;a:5:{s:4:\"file\";s:66:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/HttpKernel.php\";s:4:\"line\";i:97;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:12;a:5:{s:4:\"file\";s:62:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/Kernel.php\";s:4:\"line\";i:159;s:8:\"function\";s:9:\"terminate\";s:5:\"class\";s:39:\"Symfony\\Component\\HttpKernel\\HttpKernel\";s:4:\"type\";s:2:\"->\";}i:13;a:5:{s:4:\"file\";s:34:\"/home/cntsvllc/www/ec42x/index.php\";s:4:\"line\";i:85;s:8:\"function\";s:9:\"terminate\";s:5:\"class\";s:35:\"Symfony\\Component\\HttpKernel\\Kernel\";s:4:\"type\";s:2:\"->\";}}s:19:\"\0Exception\0previous\";N;s:11:\"\0*\0severity\";i:16384;}"
"Plugin\ReportPdf2Ft\ReportPdf2FtEvent" now to avoid errors or add an explicit @return annotation
--> exception: "O:14:\"ErrorException\":8:{s:10:\"\0*\0message\";s:330:\"User Deprecated: Method \"Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents()\" might add \"array\" as a native return type declaration in the future. Do the same in implementation \"Plugin\\ReportPdf2Ft\\ReportPdf2FtEvent\" now to avoid errors or add an explicit @return annotation to suppress this message.\";s:17:\"\0Exception\0string\";s:0:\"\";s:7:\"\0*\0code\";i:0;s:7:\"\0*\0file\";s:74:\"/home/cntsvllc/www/ec42x/vendor/symfony/error-handler/DebugClassLoader.php\";s:7:\"\0*\0line\";i:326;s:16:\"\0Exception\0trace\";a:14:{i:0;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:245;s:8:\"function\";s:26:\"ContainerQxWl9db\\{closure}\";s:5:\"class\";s:47:\"ContainerQxWl9db\\Eccube_KernelDevDebugContainer\";s:4:\"type\";s:2:\"->\";}i:1;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:84;s:8:\"function\";s:13:\"sortListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:2;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:102;s:8:\"function\";s:12:\"getListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:3;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:198;s:8:\"function\";s:12:\"getListeners\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:4;a:5:{s:4:\"file\";s:88:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/DataCollector/EventDataCollector.php\";s:4:\"line\";i:65;s:8:\"function\";s:21:\"getNotCalledListeners\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:5;a:5:{s:4:\"file\";s:73:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/Profiler/Profiler.php\";s:4:\"line\";i:97;s:8:\"function\";s:11:\"lateCollect\";s:5:\"class\";s:61:\"Symfony\\Component\\HttpKernel\\DataCollector\\EventDataCollector\";s:4:\"type\";s:2:\"->\";}i:6;a:5:{s:4:\"file\";s:86:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/EventListener/ProfilerListener.php\";s:4:\"line\";i:135;s:8:\"function\";s:11:\"saveProfile\";s:5:\"class\";s:46:\"Symfony\\Component\\HttpKernel\\Profiler\\Profiler\";s:4:\"type\";s:2:\"->\";}i:7;a:5:{s:4:\"file\";s:82:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/WrappedListener.php\";s:4:\"line\";i:117;s:8:\"function\";s:17:\"onKernelTerminate\";s:5:\"class\";s:59:\"Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener\";s:4:\"type\";s:2:\"->\";}i:8;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:230;s:8:\"function\";s:8:\"__invoke\";s:5:\"class\";s:55:\"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener\";s:4:\"type\";s:2:\"->\";}i:9;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:59;s:8:\"function\";s:13:\"callListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:10;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:154;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:11;a:5:{s:4:\"file\";s:66:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/HttpKernel.php\";s:4:\"line\";i:97;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:12;a:5:{s:4:\"file\";s:62:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/Kernel.php\";s:4:\"line\";i:159;s:8:\"function\";s:9:\"terminate\";s:5:\"class\";s:39:\"Symfony\\Component\\HttpKernel\\HttpKernel\";s:4:\"type\";s:2:\"->\";}i:13;a:5:{s:4:\"file\";s:34:\"/home/cntsvllc/www/ec42x/index.php\";s:4:\"line\";i:85;s:8:\"function\";s:9:\"terminate\";s:5:\"class\";s:35:\"Symfony\\Component\\HttpKernel\\Kernel\";s:4:\"type\";s:2:\"->\";}}s:19:\"\0Exception\0previous\";N;s:11:\"\0*\0severity\";i:16384;}"
"Plugin\ReportPdf2Ft\ReportPdf2FtEvent" now to avoid errors or add an explicit @return annotation
--> exception: "O:14:\"ErrorException\":8:{s:10:\"\0*\0message\";s:330:\"User Deprecated: Method \"Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents()\" might add \"array\" as a native return type declaration in the future. Do the same in implementation \"Plugin\\ReportPdf2Ft\\ReportPdf2FtEvent\" now to avoid errors or add an explicit @return annotation to suppress this message.\";s:17:\"\0Exception\0string\";s:0:\"\";s:7:\"\0*\0code\";i:0;s:7:\"\0*\0file\";s:74:\"/home/cntsvllc/www/ec42x/vendor/symfony/error-handler/DebugClassLoader.php\";s:7:\"\0*\0line\";i:326;s:16:\"\0Exception\0trace\";a:14:{i:0;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:245;s:8:\"function\";s:26:\"ContainerFwlVIE4\\{closure}\";s:5:\"class\";s:47:\"ContainerFwlVIE4\\Eccube_KernelDevDebugContainer\";s:4:\"type\";s:2:\"->\";}i:1;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:84;s:8:\"function\";s:13:\"sortListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:2;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:102;s:8:\"function\";s:12:\"getListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:3;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:198;s:8:\"function\";s:12:\"getListeners\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:4;a:5:{s:4:\"file\";s:88:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/DataCollector/EventDataCollector.php\";s:4:\"line\";i:65;s:8:\"function\";s:21:\"getNotCalledListeners\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:5;a:5:{s:4:\"file\";s:73:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/Profiler/Profiler.php\";s:4:\"line\";i:97;s:8:\"function\";s:11:\"lateCollect\";s:5:\"class\";s:61:\"Symfony\\Component\\HttpKernel\\DataCollector\\EventDataCollector\";s:4:\"type\";s:2:\"->\";}i:6;a:5:{s:4:\"file\";s:86:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/EventListener/ProfilerListener.php\";s:4:\"line\";i:135;s:8:\"function\";s:11:\"saveProfile\";s:5:\"class\";s:46:\"Symfony\\Component\\HttpKernel\\Profiler\\Profiler\";s:4:\"type\";s:2:\"->\";}i:7;a:5:{s:4:\"file\";s:82:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/WrappedListener.php\";s:4:\"line\";i:117;s:8:\"function\";s:17:\"onKernelTerminate\";s:5:\"class\";s:59:\"Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener\";s:4:\"type\";s:2:\"->\";}i:8;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:230;s:8:\"function\";s:8:\"__invoke\";s:5:\"class\";s:55:\"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener\";s:4:\"type\";s:2:\"->\";}i:9;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:59;s:8:\"function\";s:13:\"callListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:10;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:154;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:11;a:5:{s:4:\"file\";s:66:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/HttpKernel.php\";s:4:\"line\";i:97;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:12;a:5:{s:4:\"file\";s:62:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/Kernel.php\";s:4:\"line\";i:159;s:8:\"function\";s:9:\"terminate\";s:5:\"class\";s:39:\"Symfony\\Component\\HttpKernel\\HttpKernel\";s:4:\"type\";s:2:\"->\";}i:13;a:5:{s:4:\"file\";s:34:\"/home/cntsvllc/www/ec42x/index.php\";s:4:\"line\";i:85;s:8:\"function\";s:9:\"terminate\";s:5:\"class\";s:35:\"Symfony\\Component\\HttpKernel\\Kernel\";s:4:\"type\";s:2:\"->\";}}s:19:\"\0Exception\0previous\";N;s:11:\"\0*\0severity\";i:16384;}"
_controller: 'Plugin\ReportPdf2Ft\Controller\Admin\ConfigController::index'
--> exception: "O:72:\"Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException\":7:{s:10:\"\0*\0message\";s:65:\"The parameter \"product_review_display_count_min\" must be defined.\";s:17:\"\0Exception\0string\";s:0:\"\";s:7:\"\0*\0code\";i:0;s:7:\"\0*\0file\";s:90:\"/home/cntsvllc/www/ec42x/var/cache/dev/ContainerOV6RU6y/Eccube_KernelDevDebugContainer.php\";s:7:\"\0*\0line\";i:3288;s:16:\"\0Exception\0trace\";a:14:{i:0;a:5:{s:4:\"file\";s:59:\"/home/cntsvllc/www/ec42x/src/Eccube/Common/EccubeConfig.php\";s:4:\"line\";i:37;s:8:\"function\";s:12:\"getParameter\";s:5:\"class\";s:47:\"ContainerOV6RU6y\\Eccube_KernelDevDebugContainer\";s:4:\"type\";s:2:\"->\";}i:1;a:5:{s:4:\"file\";s:59:\"/home/cntsvllc/www/ec42x/src/Eccube/Common/EccubeConfig.php\";s:4:\"line\";i:78;s:8:\"function\";s:3:\"get\";s:5:\"class\";s:26:\"Eccube\\Common\\EccubeConfig\";s:4:\"type\";s:2:\"->\";}i:2;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/app/Plugin/ReportPdf2Ft/Form/Type/Admin/ReportPdf2FtConfigType.php\";s:4:\"line\";i:54;s:8:\"function\";s:9:\"offsetGet\";s:5:\"class\";s:26:\"Eccube\\Common\\EccubeConfig\";s:4:\"type\";s:2:\"->\";}i:3;a:5:{s:4:\"file\";s:65:\"/home/cntsvllc/www/ec42x/vendor/symfony/form/ResolvedFormType.php\";s:4:\"line\";i:131;s:8:\"function\";s:9:\"buildForm\";s:5:\"class\";s:58:\"Plugin\\ReportPdf2Ft\\Form\\Type\\Admin\\ReportPdf2FtConfigType\";s:4:\"type\";s:2:\"->\";}i:4;a:5:{s:4:\"file\";s:109:\"/home/cntsvllc/www/ec42x/vendor/symfony/form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php\";s:4:\"line\";i:95;s:8:\"function\";s:9:\"buildForm\";s:5:\"class\";s:39:\"Symfony\\Component\\Form\\ResolvedFormType\";s:4:\"type\";s:2:\"->\";}i:5;a:5:{s:4:\"file\";s:60:\"/home/cntsvllc/www/ec42x/vendor/symfony/form/FormFactory.php\";s:4:\"line\";i:73;s:8:\"function\";s:9:\"buildForm\";s:5:\"class\";s:83:\"Symfony\\Component\\Form\\Extension\\DataCollector\\Proxy\\ResolvedTypeDataCollectorProxy\";s:4:\"type\";s:2:\"->\";}i:6;a:5:{s:4:\"file\";s:60:\"/home/cntsvllc/www/ec42x/vendor/symfony/form/FormFactory.php\";s:4:\"line\";i:55;s:8:\"function\";s:18:\"createNamedBuilder\";s:5:\"class\";s:34:\"Symfony\\Component\\Form\\FormFactory\";s:4:\"type\";s:2:\"->\";}i:7;a:5:{s:4:\"file\";s:60:\"/home/cntsvllc/www/ec42x/vendor/symfony/form/FormFactory.php\";s:4:\"line\";i:31;s:8:\"function\";s:13:\"createBuilder\";s:5:\"class\";s:34:\"Symfony\\Component\\Form\\FormFactory\";s:4:\"type\";s:2:\"->\";}i:8;a:5:{s:4:\"file\";s:90:\"/home/cntsvllc/www/ec42x/vendor/symfony/framework-bundle/Controller/AbstractController.php\";s:4:\"line\";i:366;s:8:\"function\";s:6:\"create\";s:5:\"class\";s:34:\"Symfony\\Component\\Form\\FormFactory\";s:4:\"type\";s:2:\"->\";}i:9;a:5:{s:4:\"file\";s:86:\"/home/cntsvllc/www/ec42x/app/Plugin/ReportPdf2Ft/Controller/Admin/ConfigController.php\";s:4:\"line\";i:39;s:8:\"function\";s:10:\"createForm\";s:5:\"class\";s:60:\"Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController\";s:4:\"type\";s:2:\"->\";}i:10;a:5:{s:4:\"file\";s:66:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/HttpKernel.php\";s:4:\"line\";i:153;s:8:\"function\";s:5:\"index\";s:5:\"class\";s:53:\"Plugin\\ReportPdf2Ft\\Controller\\Admin\\ConfigController\";s:4:\"type\";s:2:\"->\";}i:11;a:5:{s:4:\"file\";s:66:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/HttpKernel.php\";s:4:\"line\";i:75;s:8:\"function\";s:9:\"handleRaw\";s:5:\"class\";s:39:\"Symfony\\Component\\HttpKernel\\HttpKernel\";s:4:\"type\";s:2:\"->\";}i:12;a:5:{s:4:\"file\";s:62:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/Kernel.php\";s:4:\"line\";i:202;s:8:\"function\";s:6:\"handle\";s:5:\"class\";s:39:\"Symfony\\Component\\HttpKernel\\HttpKernel\";s:4:\"type\";s:2:\"->\";}i:13;a:5:{s:4:\"file\";s:34:\"/home/cntsvllc/www/ec42x/index.php\";s:4:\"line\";i:83;s:8:\"function\";s:6:\"handle\";s:5:\"class\";s:35:\"Symfony\\Component\\HttpKernel\\Kernel\";s:4:\"type\";s:2:\"->\";}}s:19:\"\0Exception\0previous\";N;}"
--> exception: "O:72:\"Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException\":7:{s:10:\"\0*\0message\";s:65:\"The parameter \"product_review_display_count_min\" must be defined.\";s:17:\"\0Exception\0string\";s:0:\"\";s:7:\"\0*\0code\";i:0;s:7:\"\0*\0file\";s:90:\"/home/cntsvllc/www/ec42x/var/cache/dev/ContainerOV6RU6y/Eccube_KernelDevDebugContainer.php\";s:7:\"\0*\0line\";i:3288;s:16:\"\0Exception\0trace\";a:14:{i:0;a:5:{s:4:\"file\";s:59:\"/home/cntsvllc/www/ec42x/src/Eccube/Common/EccubeConfig.php\";s:4:\"line\";i:37;s:8:\"function\";s:12:\"getParameter\";s:5:\"class\";s:47:\"ContainerOV6RU6y\\Eccube_KernelDevDebugContainer\";s:4:\"type\";s:2:\"->\";}i:1;a:5:{s:4:\"file\";s:59:\"/home/cntsvllc/www/ec42x/src/Eccube/Common/EccubeConfig.php\";s:4:\"line\";i:78;s:8:\"function\";s:3:\"get\";s:5:\"class\";s:26:\"Eccube\\Common\\EccubeConfig\";s:4:\"type\";s:2:\"->\";}i:2;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/app/Plugin/ReportPdf2Ft/Form/Type/Admin/ReportPdf2FtConfigType.php\";s:4:\"line\";i:54;s:8:\"function\";s:9:\"offsetGet\";s:5:\"class\";s:26:\"Eccube\\Common\\EccubeConfig\";s:4:\"type\";s:2:\"->\";}i:3;a:5:{s:4:\"file\";s:65:\"/home/cntsvllc/www/ec42x/vendor/symfony/form/ResolvedFormType.php\";s:4:\"line\";i:131;s:8:\"function\";s:9:\"buildForm\";s:5:\"class\";s:58:\"Plugin\\ReportPdf2Ft\\Form\\Type\\Admin\\ReportPdf2FtConfigType\";s:4:\"type\";s:2:\"->\";}i:4;a:5:{s:4:\"file\";s:109:\"/home/cntsvllc/www/ec42x/vendor/symfony/form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php\";s:4:\"line\";i:95;s:8:\"function\";s:9:\"buildForm\";s:5:\"class\";s:39:\"Symfony\\Component\\Form\\ResolvedFormType\";s:4:\"type\";s:2:\"->\";}i:5;a:5:{s:4:\"file\";s:60:\"/home/cntsvllc/www/ec42x/vendor/symfony/form/FormFactory.php\";s:4:\"line\";i:73;s:8:\"function\";s:9:\"buildForm\";s:5:\"class\";s:83:\"Symfony\\Component\\Form\\Extension\\DataCollector\\Proxy\\ResolvedTypeDataCollectorProxy\";s:4:\"type\";s:2:\"->\";}i:6;a:5:{s:4:\"file\";s:60:\"/home/cntsvllc/www/ec42x/vendor/symfony/form/FormFactory.php\";s:4:\"line\";i:55;s:8:\"function\";s:18:\"createNamedBuilder\";s:5:\"class\";s:34:\"Symfony\\Component\\Form\\FormFactory\";s:4:\"type\";s:2:\"->\";}i:7;a:5:{s:4:\"file\";s:60:\"/home/cntsvllc/www/ec42x/vendor/symfony/form/FormFactory.php\";s:4:\"line\";i:31;s:8:\"function\";s:13:\"createBuilder\";s:5:\"class\";s:34:\"Symfony\\Component\\Form\\FormFactory\";s:4:\"type\";s:2:\"->\";}i:8;a:5:{s:4:\"file\";s:90:\"/home/cntsvllc/www/ec42x/vendor/symfony/framework-bundle/Controller/AbstractController.php\";s:4:\"line\";i:366;s:8:\"function\";s:6:\"create\";s:5:\"class\";s:34:\"Symfony\\Component\\Form\\FormFactory\";s:4:\"type\";s:2:\"->\";}i:9;a:5:{s:4:\"file\";s:86:\"/home/cntsvllc/www/ec42x/app/Plugin/ReportPdf2Ft/Controller/Admin/ConfigController.php\";s:4:\"line\";i:39;s:8:\"function\";s:10:\"createForm\";s:5:\"class\";s:60:\"Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController\";s:4:\"type\";s:2:\"->\";}i:10;a:5:{s:4:\"file\";s:66:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/HttpKernel.php\";s:4:\"line\";i:153;s:8:\"function\";s:5:\"index\";s:5:\"class\";s:53:\"Plugin\\ReportPdf2Ft\\Controller\\Admin\\ConfigController\";s:4:\"type\";s:2:\"->\";}i:11;a:5:{s:4:\"file\";s:66:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/HttpKernel.php\";s:4:\"line\";i:75;s:8:\"function\";s:9:\"handleRaw\";s:5:\"class\";s:39:\"Symfony\\Component\\HttpKernel\\HttpKernel\";s:4:\"type\";s:2:\"->\";}i:12;a:5:{s:4:\"file\";s:62:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/Kernel.php\";s:4:\"line\";i:202;s:8:\"function\";s:6:\"handle\";s:5:\"class\";s:39:\"Symfony\\Component\\HttpKernel\\HttpKernel\";s:4:\"type\";s:2:\"->\";}i:13;a:5:{s:4:\"file\";s:34:\"/home/cntsvllc/www/ec42x/index.php\";s:4:\"line\";i:83;s:8:\"function\";s:6:\"handle\";s:5:\"class\";s:35:\"Symfony\\Component\\HttpKernel\\Kernel\";s:4:\"type\";s:2:\"->\";}}s:19:\"\0Exception\0previous\";N;}"
"Plugin\ReportPdf2Ft\ReportPdf2FtEvent" now to avoid errors or add an explicit @return annotation
--> exception: "O:14:\"ErrorException\":8:{s:10:\"\0*\0message\";s:330:\"User Deprecated: Method \"Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents()\" might add \"array\" as a native return type declaration in the future. Do the same in implementation \"Plugin\\ReportPdf2Ft\\ReportPdf2FtEvent\" now to avoid errors or add an explicit @return annotation to suppress this message.\";s:17:\"\0Exception\0string\";s:0:\"\";s:7:\"\0*\0code\";i:0;s:7:\"\0*\0file\";s:74:\"/home/cntsvllc/www/ec42x/vendor/symfony/error-handler/DebugClassLoader.php\";s:7:\"\0*\0line\";i:326;s:16:\"\0Exception\0trace\";a:14:{i:0;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:245;s:8:\"function\";s:26:\"ContainerOV6RU6y\\{closure}\";s:5:\"class\";s:47:\"ContainerOV6RU6y\\Eccube_KernelDevDebugContainer\";s:4:\"type\";s:2:\"->\";}i:1;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:84;s:8:\"function\";s:13:\"sortListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:2;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:102;s:8:\"function\";s:12:\"getListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:3;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:198;s:8:\"function\";s:12:\"getListeners\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:4;a:5:{s:4:\"file\";s:88:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/DataCollector/EventDataCollector.php\";s:4:\"line\";i:65;s:8:\"function\";s:21:\"getNotCalledListeners\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:5;a:5:{s:4:\"file\";s:73:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/Profiler/Profiler.php\";s:4:\"line\";i:97;s:8:\"function\";s:11:\"lateCollect\";s:5:\"class\";s:61:\"Symfony\\Component\\HttpKernel\\DataCollector\\EventDataCollector\";s:4:\"type\";s:2:\"->\";}i:6;a:5:{s:4:\"file\";s:86:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/EventListener/ProfilerListener.php\";s:4:\"line\";i:135;s:8:\"function\";s:11:\"saveProfile\";s:5:\"class\";s:46:\"Symfony\\Component\\HttpKernel\\Profiler\\Profiler\";s:4:\"type\";s:2:\"->\";}i:7;a:5:{s:4:\"file\";s:82:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/WrappedListener.php\";s:4:\"line\";i:117;s:8:\"function\";s:17:\"onKernelTerminate\";s:5:\"class\";s:59:\"Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener\";s:4:\"type\";s:2:\"->\";}i:8;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:230;s:8:\"function\";s:8:\"__invoke\";s:5:\"class\";s:55:\"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener\";s:4:\"type\";s:2:\"->\";}i:9;a:5:{s:4:\"file\";s:76:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/EventDispatcher.php\";s:4:\"line\";i:59;s:8:\"function\";s:13:\"callListeners\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:10;a:5:{s:4:\"file\";s:91:\"/home/cntsvllc/www/ec42x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php\";s:4:\"line\";i:154;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:49:\"Symfony\\Component\\EventDispatcher\\EventDispatcher\";s:4:\"type\";s:2:\"->\";}i:11;a:5:{s:4:\"file\";s:66:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/HttpKernel.php\";s:4:\"line\";i:97;s:8:\"function\";s:8:\"dispatch\";s:5:\"class\";s:64:\"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher\";s:4:\"type\";s:2:\"->\";}i:12;a:5:{s:4:\"file\";s:62:\"/home/cntsvllc/www/ec42x/vendor/symfony/http-kernel/Kernel.php\";s:4:\"line\";i:159;s:8:\"function\";s:9:\"terminate\";s:5:\"class\";s:39:\"Symfony\\Component\\HttpKernel\\HttpKernel\";s:4:\"type\";s:2:\"->\";}i:13;a:5:{s:4:\"file\";s:34:\"/home/cntsvllc/www/ec42x/index.php\";s:4:\"line\";i:85;s:8:\"function\";s:9:\"terminate\";s:5:\"class\";s:35:\"Symfony\\Component\\HttpKernel\\Kernel\";s:4:\"type\";s:2:\"->\";}}s:19:\"\0Exception\0previous\";N;s:11:\"\0*\0severity\";i:16384;}"
mcontact
投稿日時: 2023/11/1 9:18
対応状況: −−−
登録日: 2022/1/22
居住地:
投稿: 1299
Re: 帳票PDFプラグイン|4.2.2|ReportPdf2Ft の設定ボタンを押すとエラーが発生
Plugin\ReportPdf2Ft\Controller\Admin\ConfigController::indexあたりにproduct_review_display_count_min変数が定義されていませんか?
無い様であれば、プラグインのどこかのコードで「product_review_display_count_min」変数が定義されていると思いますので、使用されている変数を中心に処理を確認されれば良いと思います。


----------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
EC-CUBEインテグレートパートナー【ゴールド】ランク
M&I Works
URL: https://miworks.biz/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

iidaatcnt
投稿日時: 2023/11/1 11:40
対応状況: −−−
新米
登録日: 2023/10/19
居住地: 日本
投稿: 3
Re: 帳票PDFプラグイン|4.2.2|ReportPdf2Ft の設定ボタンを押すとエラーが発生
コメントありがとうございます変数の検索でヒットがなかったんです。マニュアルにもインストールに環境ファイルの作成手動はなかった。もう一度、販売者に連絡を試みます。

以下、変数を検索した方法

% find . -type f -exec grep -l product_review_display_count_min {} \;
./app/Plugin/ReportPdf2Ft/Form/Type/Admin/ReportPdf2FtConfigType.php

% find . -type f -exec grep product_review_display_count_min {} \;
$min = $this->eccubeConfig['product_review_display_count_min'];
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

総メンバー数は89,202名です
総投稿数は110,047件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1650
8
red
1570
9
mcontact
1299
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
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.