質問 > 管理機能 > git からソース更新するとクラスが存在しないエラー |
管理機能
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
h_tanaka |
投稿日時: 2019/10/7 22:53
対応状況: 解決済
|
神 登録日: 2016/7/22 居住地: 愛媛県 投稿: 1638 |
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". -----
|
h_tanaka |
投稿日時: 2019/10/8 9:31
対応状況: −−−
|
神 登録日: 2016/7/22 居住地: 愛媛県 投稿: 1638 |
Re: git からソース更新するとクラスが存在しないエラー 本件、問題は解消しました。
Entity まわりの問題だということはわかっていたので、試しに正常動作する環境の proxy ファイルをすべてコピーして上書き更新したところ、エラーが発生しなくなりました。 問題が発生していた原因はわかりません。。
|
nanasess |
投稿日時: 2019/10/8 9:42
対応状況: −−−
|
神 登録日: 2006/9/9 居住地: 投稿: 2313 |
Re: git からソース更新するとクラスが存在しないエラー Composer の classmap がきちんと生成されていないとかですかね。
https://qiita.com/nanasess/items/583683eb94947aebea44#composer-クラスマップの再生成 |
h_tanaka |
投稿日時: 2019/10/8 10:37
対応状況: −−−
|
神 登録日: 2016/7/22 居住地: 愛媛県 投稿: 1638 |
Re: git からソース更新するとクラスが存在しないエラー nanasess さん
ありがとうございます! 次回、同様の問題が発生したときは試してみます。
|
adglevan |
投稿日時: 2019/10/11 15:40
対応状況: −−−
|
新米 登録日: 2019/10/11 居住地: 投稿: 1 |
Bring Back The Elegance Of Your Home By Hiring The Best Interior Decorator In India When it comes to interior decoration, creativity is the first word that goes through our minds. Yes, creating something amazing and unique of a boring and dull place is the core of interior decorating. For this, it needs imagination, aesthetic sense, and picking off as many ideas as possible. Primarily, interior decorating ideas can be contemporary, subtle, or exotic; it just depends upon your taste and environment you want to create. From a broader perspective, these ideas can quickly be taken from catalogs, brochures, internet, magazines, or promotional advertisements related by Interior Designers In Bangalore or designers.
But, before deciding upon any idea, you should focus on the aesthetic value of interior space. The next step is to check its feasibility, affordability, and flexibility. One should never go just by the appearance, but consider the appropriateness of the idea. Are you thinking of remodeling your home, but do not know how to go about it? If you are confused about it, you can hire a well experienced and creative Interior Designers In Bangalore who can provide you with interior decorating services to address your decorating and furnishing needs. Whether the need is furniture, window treatments, floor coverings, lighting, or accessories, you can rest be assured that you can set up a consultation with Interior Designers In Bangalore. When Interior Designers In Bangalore steps into the process, he/she first evaluate and analyzes the space and ask you the environment you want to get created. Often, when remodeling is done, it doesn’t mean that you have to get rid of old things or furnishings. This is where a creative Interior Designers In Bangalore will show talent and rearrange them or try different layouts to create the look and feel you desire. Felicia for Lifestyle Design is a highly talented and creative Interior Designers In Bangalore in WA who loves to create beautiful home interiors and specializes in remodeling bathrooms and kitchens. She is a trained, well established Interior Designers In Bangalore and is always ready to assist in your decision making the process. Felicia for Lifestyle Design is well renowned among her clients for suggesting original and innovative designs for lifestyle kitchens that are spacious, and elegance goes with the home decor. She carefully designs and gives attention to even minutest details.interior designers in bangalore|interior designers in kolkata|interior designers in faridabad|interior designers in ghaziabad|interior designers in londonYou can also look through her website to see award-winning bathrooms that gave a fresh, new look to a single place. For more details |
adgroups |
投稿日時: 2019/11/20 14:40
対応状況: −−−
|
新米 登録日: 2019/11/20 居住地: 投稿: 1 |
website designing company in delhi website designing company in delhi, Mumbai or any other city for that matter are in vogue, riding the wave of the booming digital space, which adds millions of users of the internet every month. Website Developer In Mumbai has, over time, created a niche for itself and spawned several firms and companies exclusively dedicated to strengthening the digital presence of companies and building their brands online. website designing company in delhi today is a thoroughly lucrative career which allows creative expression combined with technical expertise. The shortest way to start your career in website designing company in delhi is enrolling in a website designing company in delhi course in Mumbai or other cities. This article will talk about things that you need to know before enrolling in such a course.
Institute: When it comes to enrolling in an academic course, naturally institute becomes of prime importance. There are numerous website designing company in delhi courses in Navi Mumbai, Thane and other suburbs of that are offered by various institutes. When enrolling in a class, you should try to find out the best in terms of reputation and proficiency. An excellent way to gauge what would be to look at the history including Alumni, their career paths, the antiquity of the institute, and any recognition by government or other certification bodies. Specialization: When it comes to website designing company in delhi, there are several avenues you can specialize in like SEO (search engine optimization), SMO (social media optimization), Back end, website designing company in noida Graphic designing, content etc. Like spending hours on social media sites like Facebook and twitter? Convert it into a profession by opting for an SMO course. Even if you decide to go for a general direction which covers all aspects of website designing company in delhi, you will have to, at some point in your career, specialize in a domain. Pre-course preparation: Before you start your website designing company in delhi training in Navi Mumbai, there are a lot of things you can do on your own, to get a prerequisite familiarity with the world of websites and their online marketing. Reading articles and visiting sites is an excellent way to start, and in no time, seo services in gurgaon you will begin understanding the science and art behind website designing company in delhi. This will also help you fully take advantage of the course that you have selected is one of the premier institutes for website designing company in delhi in Mumbai. We are located at Vashi, Ghatkopar and Navi Mumbai. We offer the complete courses on Digital Media marketing, for those looking to make a career in this industry. |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |