cancel
Showing results for 
Search instead for 
Did you mean: 

Exception printing is disabled by default for security reasons.

Exception printing is disabled by default for security reasons.

Error log record number: a927db641f941fdc00532274db77349b31bbc45bbfa2be4ed6715bdc50e8e355.

what is the mean ?

--------------------------------------------------------

QQ截图20200429235312.jpg

{"0":"Class MSP\\TwoFactorAuth\\Model\\TrustedFactory does not exist","1":"#1 Magento\\Framework\\ObjectManager\\Definition\\Runtime->getParameters() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:48]\n#2 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:70]\n#3 Magento\\Framework\\ObjectManager\\ObjectManager->get() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:167]\n#4 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:273]\n#5 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->getResolvedArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:236]\n#6 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgumentsInRuntime() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:34]\n#7 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->_resolveArguments() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:59]\n#8 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:70]\n#9 Magento\\Framework\\ObjectManager\\ObjectManager->get() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:167]\n#10 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:273]\n#11 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->getResolvedArgument() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:236]\n#12 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgumentsInRuntime() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:34]\n#13 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->_resolveArguments() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Dynamic\/Developer.php:59]\n#14 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:70]\n#15 Magento\\Framework\\ObjectManager\\ObjectManager->get() called at [vendor\/magento\/framework\/Interception\/PluginList\/PluginList.php:250]\n#16 Magento\\Framework\\Interception\\PluginList\\PluginList->getPlugin() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:133]\n#17 Magento\\User\\Observer\\Backend\\ForceAdminPasswordChangeObserver\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#18

10 REPLIES 10

回复: Exception printing is disabled by default for security reasons.

any body here

Re: Exception printing is disabled by default for security reasons.

HI @qqcomce99 ,

 

Can you please set the developer mode on your instance to get the error details on the frontend using below command.

 

php bin/magento deploy:mode:set developer

 

try to run below commands after that

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy

 

Thanks!

 

-----------

Problem solved? Click Accept as Solution!

Re: Exception printing is disabled by default for security reasons.

When I try to turn on developer mode, It shows

Could not open input file: bin/magento

 

Re: Exception printing is disabled by default for security reasons.

Hi @qqcomce99 ,

Go to the root folder of your Magento project and run the following commands :

  1. sudo rm -rf var/cache var/generation var/di
  2. sudo php bin/magento setup:upgrade
  3. sudo php bin/magento setup:di:compile
  4. sudo php bin/magento cache:clean
  5. sudo chmod 777 -R var/

Hope it will solve your problem.

 

Thanks!

 

-----------------------------------

Problem solved? Click Accept as Solution!

Re: Exception printing is disabled by default for security reasons.

sorry, it doesnot work.

New problem.

QQ截图20200430005732.jpg

Re: Exception printing is disabled by default for security reasons.

ReflectionException: Class Magento\Framework\App\Http\Interceptor does not exist in /www/wwwroot/www.kigerumi.com/vendor/magento/framework/Code/Reader/ClassReader.php:26 Stack trace: #0 /www/wwwroot/www.kigerumi.com/vendor/magento/framework/Code/Reader/ClassReader.php(26): ReflectionClass->__construct('Magento\\Framewo...') #1 /www/wwwroot/www.kigerumi.com/vendor/magento/framework/ObjectManager/Definition/Runtime.php(54): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\\Framewo...') #2 /www/wwwroot/www.kigerumi.com/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(48): Magento\Framework\ObjectManager\Definition\Runtime->getParameters('Magento\\Framewo...') #3 /www/wwwroot/www.kigerumi.com/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...', Array) #4 /www/wwwroot/www.kigerumi.com/vendor/magento/framework/App/Bootstrap.php(235): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #5 /www/wwwroot/www.kigerumi.com/pub/index.php(39): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #6 {main}

Re: Exception printing is disabled by default for security reasons.

Hi @qqcomce99 ,

 

Can you please mention your magento version. ?

 

Thanks!

Re: Exception printing is disabled by default for security reasons.

QQ截图20200522234440.jpg

Nginx1.x+Php7.2+Mysql5.6+Magento2.3

thank you so much

Re: Exception printing is disabled by default for security reasons.

Hi @qqcomce99 ,

 

Go to the root folder of your Magento project and run the following commands :

  1. Please set the developer mode on your instance using below command:                   sudo php bin/magento deploy:mode: set developer
  2. sudo rm -rf var/cache var/page_cache generated/*  var/view_preprocessed
  3. sudo php bin/magento setup:upgrade
  4. sudo php bin/magento setup:di:compile
  5. sudo php bin/magento setup:static-content:deploy
  6. sudo php bin/magento cache:clean
  7. sudo chmod 777 -R var/

I hope it will solve your problem.

 

Thanks!

 

-----------------------------------

Problem solved? Click Accept as Solution!