cancel
Showing results for 
Search instead for 
Did you mean: 

Magento can not run cron

Magento can not run cron

caner@vegan:/var/www/html/magento/bin$ magento setup:upgrade
PHP Fatal error:  Uncaught Error: Call to undefined function Magento\Framework\Event\mb_strtolower() in /var/www/html/magento/vendor/magento/framework/Event/Manager.php:56
Stack trace:
#0 /var/www/html/magento/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch('adminhtml_cache...', Array)
#1 /var/www/html/magento/vendor/magento/module-page-cache/Model/Cache/Type.php(48): Magento\Framework\Event\Manager\Proxy->dispatch('adminhtml_cache...')
#2 /var/www/html/magento/vendor/magento/framework/App/Cache/TypeList.php(183): Magento\PageCache\Model\Cache\Type->clean()
#3 /var/www/html/magento/vendor/magento/framework/App/Cache/Manager.php(88): Magento\Framework\App\Cache\TypeList->cleanType('full_page')
#4 /var/www/html/magento/setup/src/Magento/Setup/Model/Installer.php(1080): Magento\Framework\App\Cache\Manager->clean(Array)
#5 /var/www/html/magento/setup/src/Magento/Setup/Model/Installer.php(1011): Magento\Setup\Model\Installer->cleanCaches()
#6 /var/www/html/magento/setup/src/Ma in /var/www/html/magento/vendor/magento/framework/Event/Manager.php on line 56
caner@vegan:/var/www/html/magento/bin$ magento setup:cron:run
setup-cron: Please check var/log/update.log for execution summary.

these are my logs:

 

 

caner@vegan:~$ gedit /var/www/html/magento/var/log/update.cron.log 
caner@vegan:~$ gedit /var/www/html/magento/var/log/update.log 

update.log

 

update-cron: Please check var/log/update.log for execution summary.

 

[2016-09-06 13:58:02] setup-cron.ERROR: Following required PHP extensions are missing: 	curl 	gd 	intl 	mbstring 	zip [] []
[2016-09-06 13:58:59] setup-cron.ERROR: Following required PHP extensions are missing: 	curl 	gd 	intl 	mbstring 	zip [] []
[2016-09-06 13:59:01] setup-cron.ERROR: Following required PHP extensions are missing: 	curl 	gd 	intl 	mbstring 	zip [] []
[2016-09-06 13:59:02] setup-cron.ERROR: Following required PHP extensions are missing: 	curl 	gd 	intl 	mbstring 	zip [] []

update.cron.log:

 

 

 

 

So, what can be wrong here?

 

caner@vegan:/var/www/html/magento/bin$ magento setup:upgrade
PHP Fatal error:  Uncaught Error: Call to undefined function Magento\Framework\Event\mb_strtolower() in /var/www/html/magento/vendor/magento/framework/Event/Manager.php:56
Stack trace:
#0 /var/www/html/magento/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch('adminhtml_cache...', Array)
#1 /var/www/html/magento/vendor/magento/module-page-cache/Model/Cache/Type.php(48): Magento\Framework\Event\Manager\Proxy->dispatch('adminhtml_cache...')
#2 /var/www/html/magento/vendor/magento/framework/App/Cache/TypeList.php(183): Magento\PageCache\Model\Cache\Type->clean()
#3 /var/www/html/magento/vendor/magento/framework/App/Cache/Manager.php(88): Magento\Framework\App\Cache\TypeList->cleanType('full_page')
#4 /var/www/html/magento/setup/src/Magento/Setup/Model/Installer.php(1080): Magento\Framework\App\Cache\Manager->clean(Array)
#5 /var/www/html/magento/setup/src/Magento/Setup/Model/Installer.php(1011): Magento\Setup\Model\Installer->cleanCaches()
#6 /var/www/html/magento/setup/src/Ma in /var/www/html/magento/vendor/magento/framework/Event/Manager.php on line 56
caner@vegan:/var/www/html/magento/bin$ magento setup:cron:run
setup-cron: Please check var/log/update.log for execution summary.

also i have those errors.

 

 

 

1 REPLY 1

Re: Magento can not run cron

php -v
PHP 7.0.10-2+deb.sury.org~xenial+1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.10-2+deb.sury.org~xenial+1, Copyright (c) 1999-2016, by Zend Technologies

i think problem is that. i used 5.6 php to use in magento. How can I  solve?