0

i'm getting this cron install error, how can i fix it?thankyou!!

php bin/magento cron:install --force

Fatal error: Uncaught Error: Call to a member function getMessage() on null in /home/XXX/public_html/vendor/magento/framework/Crontab/CrontabManager.php:202

  • Did you try o run setup:di:compile before? – vitoriodachef Feb 10 '18 at 20:30
  • Please use php bin/magento cron:run command to ensure cron is running in Magento after that you can set the cron – Purushotam Sharma Feb 11 '18 at 4:28
  • yes,but can not, Fatal error @PurushotamSharma – niceonelee Feb 11 '18 at 7:07
  • maybe no, so i need run setup:di:compile?thank you @Vulpea – niceonelee Feb 11 '18 at 7:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.