質問 > 管理機能 > git からソース更新するとクラスが存在しないエラー |
管理機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
h_tanaka |
投稿日時: 2019/10/7 22:53
対応状況: 解決済
|
神 登録日: 2016/7/22 居住地: 愛媛県 投稿: 1610 |
git からソース更新するとクラスが存在しないエラー さくらVPS
サーバー構成:ロードバランサー、WEB1、WEB2、FILE、DB EC-CUBE 4.0.2 MySQL 5.7.27 PHP 7.1.32 FILEサーバーにEC-CUBEをクリーンインストールし、必要なプラグインをインストール・有効化しました。 この時点では特に問題なく動作していました。 その後、開発環境の git から git reset で最新のソースをデプロイしました。 デプロイ後、コンソールコマンドでマイグレーションやプロキシ更新を行おうとすると次のようなエラーになります。 ブラウザでサイトを見ようとすると 500エラーになります。 原因または解決方法わかりますでしょうか? ----- $ php bin/console doctrine:migrations:migrate PHP Warning: include(/var/www/toebisu.co.jp/htdocs/vendor/composer/../../app/proxy/entity/Shipping.php): failed to open stream: No such file or directory in /var/www/toebisu.co.jp/htdocs/vendor/composer/ClassLoader.php on line 444 PHP Warning: include(): Failed opening '/var/www/toebisu.co.jp/htdocs/vendor/composer/../../app/proxy/entity/Shipping.php' for inclusion (include_path='/var/www/toebisu.co.jp/htdocs/vendor/pear/archive_tar:/var/www/toebisu.co.jp/htdocs/vendor/pear/console_getopt:/var/www/toebisu.co.jp/htdocs/vendor/pear/pear-core-minimal/src:/var/www/toebisu.co.jp/htdocs/vendor/pear/pear_exception:.:/usr/share/pear:/usr/share/php') in /var/www/toebisu.co.jp/htdocs/vendor/composer/ClassLoader.php on line 444 In RegisterControllerArgumentLocatorsPass.php line 164: Cannot determine controller argument for "Eccube\Controller\Admin\Order\OrderController::updateOrderStatus()": the $Shipping argument is type-hinted with the non-existent class or interface: "Eccube\Entity\Shipping". ----- Entity が存在しないというような意味のエラーでしょうか。。 ちなみにクリーンインストールからやり直してみましたが、似たようなエラーになりました。 ----- Cannot determine controller argument for "Eccube\Controller\Admin\Customer\CustomerDeliveryEditController::edit()": the $Customer argument is type-hinted with the non-existent class or interface: "Eccube\Entity\Customer". -----
|
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» git からソース更新するとクラスが存在しないエラー | h_tanaka | 2019/10/7 22:53 |
Re: git からソース更新するとクラスが存在しないエラー | h_tanaka | 2019/10/8 9:31 |
Re: git からソース更新するとクラスが存在しないエラー | nanasess | 2019/10/8 9:42 |
Re: git からソース更新するとクラスが存在しないエラー | h_tanaka | 2019/10/8 10:37 |
Bring Back The Elegance Of Your Home By Hiring The Best Interior Decorator In India | adglevan | 2019/10/11 15:40 |
website designing company in delhi | adgroups | 2019/11/20 14:40 |