hello i am trying to migrate to my local host a magento2 board version 2.3.5-p1 from a server.
I have to disable redis, change the database access config from the app/etc/env.php file.
I have import the database changing the url of secure access to localhost:86/, my loaclhost is in the port 86.
I have to disable the ssl connection in the database setting to 0 the values.
Here i have the log of nginx
2020/08/26 07:50:55 [error] 2411#2411: *52 FastCGI sent in stderr: "PHP message: PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/html/magento/vendor/colinmollenhour/cache-backend-file/File.php on line 81 PHP message: PHP Stack trace: PHP message: PHP 1. {main}() /var/www/html/magento/pub/index.php:0 PHP message: PHP 2. Magento\Framework\App\Bootstrap->createApplication() /var/www/html/magento/pub/index.php:36 PHP message: PHP 3. Magento\Framework\App\Bootstrap->initObjectManager() /var/www/html/magento/vendor/magento/framework/App/Bootstrap.php:232 PHP message: PHP 4. Magento\Framework\App\ObjectManagerFactory->create() /var/www/html/magento/vendor/magento/framework/App/Bootstrap.php:385 PHP message: PHP 5. Magento\Framework\App\ObjectManager\Environment\Compiled->configureObjectManager() /var/www/html/magento/vendor/magento/framework/App/ObjectManagerFactory.php:194 PHP message: PHP 6. Magento\Framework\ObjectManager\ObjectManager->get() /var/www/html/magento/vendor/magento/framework/App/ObjectManager/Environment/Compiled.php:109 PHP message: PHP 7. Magento\Framework\ObjectManager\Factory\Compiled->create() /var/www/html/magento/vendor/magento/framework/ObjectManager/ObjectManager.php:71 PHP message: PHP 8. Magento\Framework\ObjectManager\Factory\Compiled->createObject() /var/www/html/magento/vendor/magento/framework/ObjectManager/Factory/Compiled.php:88 PHP message: PHP 9. Magento\Framework\Interception\Config\Config->__construct() /var/www/html/magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93 PHP message: PHP 10. Magento\Framework\App\Cache\Type\Config->load() /var/www/html/magento/vendor/magento/framework/Interception/Config/Config.php:99 PHP message: PHP 11. Magento\Framework\App\Cache\Type\Config->_getFrontend() /var/www/html/magento/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php:65 PHP message: PHP 12. Magento\Framework\App\Cache\Type\FrontendPool->get() /var/www/html/magento/vend 2020/08/26 07:54:13 [error] 2411#2411: *54 FastCGI sent in stderr: "PHP message: PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/html/magento/vendor/colinmollenhour/cache-backend-file/File.php on line 81 PHP message: PHP Stack trace: PHP message: PHP 1. {main}() /var/www/html/magento/pub/index.php:0 PHP message: PHP 2. Magento\Framework\App\Bootstrap->createApplication() /var/www/html/magento/pub/index.php:36 PHP message: PHP 3. Magento\Framework\App\Bootstrap->initObjectManager() /var/www/html/magento/vendor/magento/framework/App/Bootstrap.php:232 PHP message: PHP 4. Magento\Framework\App\ObjectManagerFactory->create() /var/www/html/magento/vendor/magento/framework/App/Bootstrap.php:385 PHP message: PHP 5. Magento\Framework\App\ObjectManager\Environment\Compiled->configureObjectManager() /var/www/html/magento/vendor/magento/framework/App/ObjectManagerFactory.php:194 PHP message: PHP 6. Magento\Framework\ObjectManager\ObjectManager->get() /var/www/html/magento/vendor/magento/framework/App/ObjectManager/Environment/Compiled.php:109 PHP message: PHP 7. Magento\Framework\ObjectManager\Factory\Compiled->create() /var/www/html/magento/vendor/magento/framework/ObjectManager/ObjectManager.php:71 PHP message: PHP 8. Magento\Framework\ObjectManager\Factory\Compiled->createObject() /var/www/html/magento/vendor/magento/framework/ObjectManager/Factory/Compiled.php:88 PHP message: PHP 9. Magento\Framework\Interception\Config\Config->__construct() /var/www/html/magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93 PHP message: PHP 10. Magento\Framework\App\Cache\Type\Config->load() /var/www/html/magento/vendor/magento/framework/Interception/Config/Config.php:99 PHP message: PHP 11. Magento\Framework\App\Cache\Type\Config->_getFrontend() /var/www/html/magento/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php:65 PHP message: PHP 12. Magento\Framework\App\Cache\Type\FrontendPool->get() /var/www/html/magento/vend
Please could you give me a hand, thank you
installed new magento version is no an option for me, i want to display my magento board in a testing environment.
Edit Update error status after give permisisons 777 recursively to magento folder:
[2020-08-26 14:35:49] main.CRITICAL: Exception: Warning: Use of undefined constant MCRYPT_BLOWFISH - assumed 'MCRYPT_BLOWFISH' (this will throw an Error in a future version of PHP) in /var/www/html/magento/vendor/magento/framework/Encryption/Encryptor.php on line 397 in /var/www/html/magento/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 /var/www/html/magento/vendor/magento/framework/Encryption/Encryptor.php(397): Magento\Framework\App\ErrorHandler->handler(2, 'Use of undefine...', '/var/www/html/m...', 397, Array) #1 /var/www/html/magento/vendor/magento/framework/Encryption/Encryptor.php(313): Magento\Framework\Encryption\Encryptor->getCrypt('dac8f4f8d036c3a...', 0, false) #2 /var/www/html/magento/vendor/magento/module-config/Model/Config/Backend/Encrypted.php(109): Magento\Framework\Encryption\Encryptor->decrypt('PayPal') #3 /var/www/html/magento/vendor/magento/framework/App/Config/MetadataConfigTypeProcessor.php(88): Magento\Config\Model\Config\Backend\Encrypted->processValue('PayPal') #4 /var/www/html/magento/vendor/magento/framework/App/Config/MetadataConfigTypeProcessor.php(106): Magento\Framework\App\Config\MetadataConfigTypeProcessor->processScopeData(Array) #5 /var/www/html/magento/vendor/magento/framework/App/Config/PostProcessorComposite.php(34): Magento\Framework\App\Config\MetadataConfigTypeProcessor->process(Array) #6 /var/www/html/magento/vendor/magento/module-config/App/Config/Type/System/Reader.php(73): Magento\Framework\App\Config\PostProcessorComposite->process(Array) #7 /var/www/html/magento/var/generation/Magento/Config/App/Config/Type/System/Reader/Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read() #8 /var/www/html/magento/vendor/magento/module-config/App/Config/Type/System.php(212): Magento\Config\App\Config\Type\System\Reader\Proxy->read() #9 /var/www/html/magento/vendor/magento/module-config/App/Config/Type/System.php(170): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #10 /var/www/html/magento/vendor/magento/framework/App/Config.php(139): Magento\Config\App\Config\Type\System->get('default/web/sec...') #11 /var/www/html/magento/vendor/magento/framework/App/Config.php(90): Magento\Framework\App\Config->get('system', 'default/web/sec...') #12 /var/www/html/magento/vendor/magento/framework/App/Config.php(103): Magento\Framework\App\Config->getValue('web/secure/use_...', 'default', NULL) #13 /var/www/html/magento/vendor/magento/module-store/Model/HeaderProvider/Hsts.php(48): Magento\Framework\App\Config->isSetFlag('web/secure/use_...') #14 /var/www/html/magento/vendor/magento/framework/App/Response/HeaderManager.php(41): Magento\Store\Model\HeaderProvider\Hsts->canApply() #15 /var/www/html/magento/vendor/magento/framework/Interception/Interceptor.php(123): Magento\Framework\App\Response\HeaderManager->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #16 /var/www/html/magento/var/generation/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #17 /var/www/html/magento/pub/errors/report.php(15): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #18 /var/www/html/magento/vendor/magento/framework/App/Http.php(323): require('/var/www/html/m...') #19 /var/www/html/magento/vendor/magento/framework/App/Http.php(160): Magento\Framework\App\Http->handleGenericReport(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #20 /var/www/html/magento/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #21 /var/www/html/magento/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #22 {main} [] [] [2020-08-26 14:36:07] main.CRITICAL: Exception: Warning: Use of undefined constant MCRYPT_BLOWFISH - assumed 'MCRYPT_BLOWFISH' (this will throw an Error in a future version of PHP) in /var/www/html/magento/vendor/magento/framework/Encryption/Encryptor.php on line 397 in /var/www/html/magento/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 /var/www/html/magento/vendor/magento/framework/Encryption/Encryptor.php(397): Magento\Framework\App\ErrorHandler->handler(2, 'Use of undefine...', '/var/www/html/m...', 397, Array) #1 /var/www/html/magento/vendor/magento/framework/Encryption/Encryptor.php(313): Magento\Framework\Encryption\Encryptor->getCrypt('dac8f4f8d036c3a...', 0, false) #2 /var/www/html/magento/vendor/magento/module-config/Model/Config/Backend/Encrypted.php(109): Magento\Framework\Encryption\Encryptor->decrypt('PayPal') #3 /var/www/html/magento/vendor/magento/framework/App/Config/MetadataConfigTypeProcessor.php(88): Magento\Config\Model\Config\Backend\Encrypted->processValue('PayPal') #4 /var/www/html/magento/vendor/magento/framework/App/Config/MetadataConfigTypeProcessor.php(106): Magento\Framework\App\Config\MetadataConfigTypeProcessor->processScopeData(Array) #5 /var/www/html/magento/vendor/magento/framework/App/Config/PostProcessorComposite.php(34): Magento\Framework\App\Config\MetadataConfigTypeProcessor->process(Array) #6 /var/www/html/magento/vendor/magento/module-config/App/Config/Type/System/Reader.php(73): Magento\Framework\App\Config\PostProcessorComposite->process(Array) #7 /var/www/html/magento/var/generation/Magento/Config/App/Config/Type/System/Reader/Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read() #8 /var/www/html/magento/vendor/magento/module-config/App/Config/Type/System.php(212): Magento\Config\App\Config\Type\System\Reader\Proxy->read() #9 /var/www/html/magento/vendor/magento/module-config/App/Config/Type/System.php(170): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #10 /var/www/html/magento/vendor/magento/framework/App/Config.php(139): Magento\Config\App\Config\Type\System->get('default/web/sec...') #11 /var/www/html/magento/vendor/magento/framework/App/Config.php(90): Magento\Framework\App\Config->get('system', 'default/web/sec...') #12 /var/www/html/magento/vendor/magento/framework/App/Config.php(103): Magento\Framework\App\Config->getValue('web/secure/use_...', 'default', NULL) #13 /var/www/html/magento/vendor/magento/module-store/Model/HeaderProvider/Hsts.php(48): Magento\Framework\App\Config->isSetFlag('web/secure/use_...') #14 /var/www/html/magento/vendor/magento/framework/App/Response/HeaderManager.php(41): Magento\Store\Model\HeaderProvider\Hsts->canApply() #15 /var/www/html/magento/vendor/magento/framework/Interception/Interceptor.php(123): Magento\Framework\App\Response\HeaderManager->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #16 /var/www/html/magento/var/generation/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #17 /var/www/html/magento/pub/errors/report.php(15): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #18 /var/www/html/magento/vendor/magento/framework/App/Http.php(323): require('/var/www/html/m...') #19 /var/www/html/magento/vendor/magento/framework/App/Http.php(160): Magento\Framework\App\Http->handleGenericReport(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #20 /var/www/html/magento/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #21 /var/www/html/magento/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #22 {main} [] []
i installed mcrypt for php 7.0 sudo apt install php7.0-mcrypt
i added to php.ini as extension extension=php_mcrypt.dll in /etc/php7.0/cgi/php.ini and /etc/php7.0/cli/php.ini files
I restart the services of sudo service php7.0-fpm restart
But i am getting the same error in the log of magento file
[2020-08-26 14:35:49] main.CRITICAL: Exception: Warning: Use of undefined constant MCRYPT_BLOWFISH - assumed 'MCRYPT_BLOWFISH' (this will throw an Error in a future version of PHP) in /var/www/html/magento/vendor/magento/framework/Encryption/Encryptor.php on line 397 in /var/www/html/magento/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 /var/www/html/magento/vendor/magento/framework/Encryption/Encryptor.php(397): Magento\Framework\App\ErrorHandler->handler(2, 'Use of undefine...', '/var/www/html/m...', 397, Array) #1 /var/www/html/magento/vendor/magento/framework/Encryption/Encryptor.php(313): Magento\Framework\Encryption\Encryptor->getCrypt('dac8f4f8d036c3a...', 0, false) #2 /var/www/html/magento/vendor/magento/module-config/Model/Config/Backend/Encrypted.php(109): Magento\Framework\Encryption\Encryptor->decrypt('PayPal') #3 /var/www/html/magento/vendor/magento/framework/App/Config/MetadataConfigTypeProcessor.php(88): Magento\Config\Model\Config\Backend\Encrypted->processValue('PayPal') #4 /var/www/html/magento/vendor/magento/framework/App/Config/MetadataConfigTypeProcessor.php(106): Magento\Framework\App\Config\MetadataConfigTypeProcessor->processScopeData(Array) #5 /var/www/html/magento/vendor/magento/framework/App/Config/PostProcessorComposite.php(34): Magento\Framework\App\Config\MetadataConfigTypeProcessor->process(Array) #6 /var/www/html/magento/vendor/magento/module-config/App/Config/Type/System/Reader.php(73): Magento\Framework\App\Config\PostProcessorComposite->process(Array) #7 /var/www/html/magento/var/generation/Magento/Config/App/Config/Type/System/Reader/Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read() #8 /var/www/html/magento/vendor/magento/module-config/App/Config/Type/System.php(212): Magento\Config\App\Config\Type\System\Reader\Proxy->read() #9 /var/www/html/magento/vendor/magento/module-config/App/Config/Type/System.php(170): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #10 /var/www/html/magento/vendor/magento/framework/App/Config.php(139): Magento\Config\App\Config\Type\System->get('default/web/sec...') #11 /var/www/html/magento/vendor/magento/framework/App/Config.php(90): Magento\Framework\App\Config->get('system', 'default/web/sec...') #12 /var/www/html/magento/vendor/magento/framework/App/Config.php(103): Magento\Framework\App\Config->getValue('web/secure/use_...', 'default', NULL) #13 /var/www/html/magento/vendor/magento/module-store/Model/HeaderProvider/Hsts.php(48): Magento\Framework\App\Config->isSetFlag('web/secure/use_...') #14 /var/www/html/magento/vendor/magento/framework/App/Response/HeaderManager.php(41): Magento\Store\Model\HeaderProvider\Hsts->canApply() #15 /var/www/html/magento/vendor/magento/framework/Interception/Interceptor.php(123): Magento\Framework\App\Response\HeaderManager->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #16 /var/www/html/magento/var/generation/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #17 /var/www/html/magento/pub/errors/report.php(15): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #18 /var/www/html/magento/vendor/magento/framework/App/Http.php(323): require('/var/www/html/m...') #19 /var/www/html/magento/vendor/magento/framework/App/Http.php(160): Magento\Framework\App\Http->handleGenericReport(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #20 /var/www/html/magento/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #21 /var/www/html/magento/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #22 {main} [] [] [2020-08-26 14:36:07] main.CRITICAL: Exception: Warning: Use of undefined constant MCRYPT_BLOWFISH - assumed 'MCRYPT_BLOWFISH' (this will throw an Error in a future version of PHP) in /var/www/html/magento/vendor/magento/framework/Encryption/Encryptor.php on line 397 in /var/www/html/magento/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 /var/www/html/magento/vendor/magento/framework/Encryption/Encryptor.php(397): Magento\Framework\App\ErrorHandler->handler(2, 'Use of undefine...', '/var/www/html/m...', 397, Array) #1 /var/www/html/magento/vendor/magento/framework/Encryption/Encryptor.php(313): Magento\Framework\Encryption\Encryptor->getCrypt('dac8f4f8d036c3a...', 0, false) #2 /var/www/html/magento/vendor/magento/module-config/Model/Config/Backend/Encrypted.php(109): Magento\Framework\Encryption\Encryptor->decrypt('PayPal') #3 /var/www/html/magento/vendor/magento/framework/App/Config/MetadataConfigTypeProcessor.php(88): Magento\Config\Model\Config\Backend\Encrypted->processValue('PayPal') #4 /var/www/html/magento/vendor/magento/framework/App/Config/MetadataConfigTypeProcessor.php(106): Magento\Framework\App\Config\MetadataConfigTypeProcessor->processScopeData(Array) #5 /var/www/html/magento/vendor/magento/framework/App/Config/PostProcessorComposite.php(34): Magento\Framework\App\Config\MetadataConfigTypeProcessor->process(Array) #6 /var/www/html/magento/vendor/magento/module-config/App/Config/Type/System/Reader.php(73): Magento\Framework\App\Config\PostProcessorComposite->process(Array) #7 /var/www/html/magento/var/generation/Magento/Config/App/Config/Type/System/Reader/Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read() #8 /var/www/html/magento/vendor/magento/module-config/App/Config/Type/System.php(212): Magento\Config\App\Config\Type\System\Reader\Proxy->read() #9 /var/www/html/magento/vendor/magento/module-config/App/Config/Type/System.php(170): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #10 /var/www/html/magento/vendor/magento/framework/App/Config.php(139): Magento\Config\App\Config\Type\System->get('default/web/sec...') #11 /var/www/html/magento/vendor/magento/framework/App/Config.php(90): Magento\Framework\App\Config->get('system', 'default/web/sec...') #12 /var/www/html/magento/vendor/magento/framework/App/Config.php(103): Magento\Framework\App\Config->getValue('web/secure/use_...', 'default', NULL) #13 /var/www/html/magento/vendor/magento/module-store/Model/HeaderProvider/Hsts.php(48): Magento\Framework\App\Config->isSetFlag('web/secure/use_...') #14 /var/www/html/magento/vendor/magento/framework/App/Response/HeaderManager.php(41): Magento\Store\Model\HeaderProvider\Hsts->canApply() #15 /var/www/html/magento/vendor/magento/framework/Interception/Interceptor.php(123): Magento\Framework\App\Response\HeaderManager->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #16 /var/www/html/magento/var/generation/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #17 /var/www/html/magento/pub/errors/report.php(15): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #18 /var/www/html/magento/vendor/magento/framework/App/Http.php(323): require('/var/www/html/m...') #19 /var/www/html/magento/vendor/magento/framework/App/Http.php(160): Magento\Framework\App\Http->handleGenericReport(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #20 /var/www/html/magento/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #21 /var/www/html/magento/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #22 {main} [] []