PHP 7.2へのアップグレード以降のReflectionException

今日はPHP 5.6から7.2にアップグレードしましたので、Craft 3.0にアップグレードすることができました。

多くの更新プログラムをインストールする必要がある場合、クラフトサーバーのチェックは完全に緑色で、すべて正常であるはずです。

しかし、.envファイルの正しい設定にもかかわらず、次の問題が発生しています。私は、ユーザー/パスがmysqlデータベースのために働いていることを確認しました。

An Error occurred while handling another error:
ReflectionException: Class craftdbmysqlSchema does not exist in /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php:428
Stack trace:
#0 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(428): ReflectionClass->__construct('craft\db\mysql\...')
#1 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(364): yiidiContainer->getDependencies('craft\db\mysql\...')
#2 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(156): yiidiContainer->build('craft\db\mysql\...', Array, Array)
#3 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/BaseYii.php(349): yiidiContainer->get('craft\db\mysql\...', Array, Array)
#4 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/db/Connection.php(824): yiiBaseYii::createObject(Array)
#5 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/db/Connection.php(341): yiidbConnection->getSchema()
#6 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/base/ApplicationTrait.php(223): craftdbConnection->tableExists('{{%info}}', false)
#7 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/services/Sites.php(1001): craftwebApplication->getIsInstalled()
#8 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/services/Sites.php(380): craftservicesSites->_loadAllSites()
#9 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/Component.php(180): craftservicesSites->setCurrentSite(NULL)
#10 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/BaseYii.php(546): yiibaseComponent->__set('currentSite', NULL)
#11 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/BaseObject.php(107): yiiBaseYii::configure(Object(craftservicesSites), Array)
#12 [internal function]: yiibaseBaseObject->__construct(Array)
#13 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(383): ReflectionClass->newInstanceArgs(Array)
#14 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(156): yiidiContainer->build('craft\services\...', Array, Array)
#15 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/BaseYii.php(349): yiidiContainer->get('craft\services\...', Array, Array)
#16 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/ServiceLocator.php(137): yiiBaseYii::createObject(Array)
#17 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/Module.php(742): yiidiServiceLocator->get('sites', true)
#18 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/Application.php(289): yiibaseModule->get('sites', true)
#19 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/base/ApplicationTrait.php(983): craftwebApplication->get('sites')
#20 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/Request.php(914): craftwebApplication->getSites()
#21 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/Request.php(161): craftwebRequest->_getCurrentSite()
#22 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/BaseObject.php(109): craftwebRequest->init()
#23 [internal function]: yiibaseBaseObject->__construct(Array)
#24 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(383): ReflectionClass->newInstanceArgs(Array)
#25 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(156): yiidiContainer->build('craft\web\Reque...', Array, Array)
#26 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/BaseYii.php(349): yiidiContainer->get('craft\web\Reque...', Array, Array)
#27 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/config/app.web.php(41): yiiBaseYii::createObject(Array)
#28 [internal function]: {closure}()
#29 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(503): call_user_func_array(Object(Closure), Array)
#30 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/BaseYii.php(351): yiidiContainer->invoke(Object(Closure), Array)
#31 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/ServiceLocator.php(137): yiiBaseYii::createObject(Object(Closure))
#32 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/Module.php(742): yiidiServiceLocator->get('request', true)
#33 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/Application.php(289): yiibaseModule->get('request', true)
#34 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/ServiceLocator.php(74): craftwebApplication->get('request')
#35 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/web/ErrorHandler.php(499): yiidiServiceLocator->__get('request')
#36 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/web/ErrorHandler.php(115): yiiwebErrorHandler->shouldRenderSimpleHtml()
#37 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/ErrorHandler.php(156): yiiwebErrorHandler->renderException(Object(yiibaseErrorException))
#38 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/ErrorHandler.php(111): craftwebErrorHandler->renderException(Object(yiibaseErrorException))
#39 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/ErrorHandler.php(71): yiibaseErrorHandler->handleException(Object(yiibaseErrorException))
#40 [internal function]: craftwebErrorHandler->handleException(Object(yiibaseErrorException))
#41 {main}
Previous exception:
yiibaseErrorException: include(/var/www/shanehudson.net/codebase/craft/vendor/composer/../craftcms/cms/src/db/mysql/Schema.php): failed to open stream: No such file or directory in /var/www/shanehudson.net/codebase/craft/vendor/composer/ClassLoader.php:444
Stack trace:
#0 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/ErrorHandler.php(84): yiibaseErrorHandler->handleError(2, 'include(/var/ww...', '/var/www/shaneh...', 444)
#1 /var/www/shanehudson.net/codebase/craft/vendor/composer/ClassLoader.php(444): craftwebErrorHandler->handleError(2, 'include(/var/ww...', '/var/www/shaneh...', 444, Array)
#2 /var/www/shanehudson.net/codebase/craft/vendor/composer/ClassLoader.php(444): include()
#3 /var/www/shanehudson.net/codebase/craft/vendor/composer/ClassLoader.php(322): ComposerAutoloadincludeFile('/var/www/shaneh...')
#4 [internal function]: ComposerAutoloadClassLoader->loadClass('craft\db\mysql\...')
#5 [internal function]: spl_autoload_call('craft\db\mysql\...')
#6 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(428): ReflectionClass->__construct('craft\db\mysql\...')
#7 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(364): yiidiContainer->getDependencies('craft\db\mysql\...')
#8 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(156): yiidiContainer->build('craft\db\mysql\...', Array, Array)
#9 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/BaseYii.php(349): yiidiContainer->get('craft\db\mysql\...', Array, Array)
#10 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/db/Connection.php(824): yiiBaseYii::createObject(Array)
#11 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/db/Connection.php(341): yiidbConnection->getSchema()
#12 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/base/ApplicationTrait.php(223): craftdbConnection->tableExists('{{%info}}', false)
#13 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/services/Sites.php(1001): craftwebApplication->getIsInstalled()
#14 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/services/Sites.php(380): craftservicesSites->_loadAllSites()
#15 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/Component.php(180): craftservicesSites->setCurrentSite(NULL)
#16 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/BaseYii.php(546): yiibaseComponent->__set('currentSite', NULL)
#17 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/BaseObject.php(107): yiiBaseYii::configure(Object(craftservicesSites), Array)
#18 [internal function]: yiibaseBaseObject->__construct(Array)
#19 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(383): ReflectionClass->newInstanceArgs(Array)
#20 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(156): yiidiContainer->build('craft\services\...', Array, Array)
#21 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/BaseYii.php(349): yiidiContainer->get('craft\services\...', Array, Array)
#22 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/ServiceLocator.php(137): yiiBaseYii::createObject(Array)
#23 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/Module.php(742): yiidiServiceLocator->get('sites', true)
#24 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/Application.php(289): yiibaseModule->get('sites', true)
#25 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/base/ApplicationTrait.php(983): craftwebApplication->get('sites')
#26 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/Request.php(914): craftwebApplication->getSites()
#27 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/Request.php(161): craftwebRequest->_getCurrentSite()
#28 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/BaseObject.php(109): craftwebRequest->init()
#29 [internal function]: yiibaseBaseObject->__construct(Array)
#30 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(383): ReflectionClass->newInstanceArgs(Array)
#31 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(156): yiidiContainer->build('craft\web\Reque...', Array, Array)
#32 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/BaseYii.php(349): yiidiContainer->get('craft\web\Reque...', Array, Array)
#33 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/config/app.web.php(41): yiiBaseYii::createObject(Array)
#34 [internal function]: {closure}()
#35 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(503): call_user_func_array(Object(Closure), Array)
#36 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/BaseYii.php(351): yiidiContainer->invoke(Object(Closure), Array)
#37 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/ServiceLocator.php(137): yiiBaseYii::createObject(Object(Closure))
#38 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/Module.php(742): yiidiServiceLocator->get('request', true)
#39 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/Application.php(289): yiibaseModule->get('request', true)
#40 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/web/Application.php(160): craftwebApplication->get('request')
#41 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/Application.php(104): yiiwebApplication->getRequest()
#42 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/Application.php(273): craftwebApplication->bootstrap()
#43 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/Application.php(90): yiibaseApplication->init()
#44 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/BaseObject.php(109): craftwebApplication->init()
#45 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/base/Application.php(206): yiibaseBaseObject->__construct(Array)
#46 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/src/web/Application.php(82): yiibaseApplication->__construct(Array)
#47 [internal function]: craftwebApplication->__construct(Array)
#48 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(383): ReflectionClass->newInstanceArgs(Array)
#49 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/di/Container.php(156): yiidiContainer->build('craft\web\Appli...', Array, Array)
#50 /var/www/shanehudson.net/codebase/craft/vendor/yiisoft/yii2/BaseYii.php(349): yiidiContainer->get('craft\web\Appli...', Array, Array)
#51 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/bootstrap/bootstrap.php(249): yiiBaseYii::createObject(Array)
#52 /var/www/shanehudson.net/codebase/craft/vendor/craftcms/cms/bootstrap/web.php(42): require('/var/www/shaneh...')
#53 /var/www/shanehudson.net/codebase/craft/web/index.php(20): require('/var/www/shaneh...')
#54 {main}
ベストアンサー
申し訳ありませんが、適切な答えはありません

返信を残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です