# Errors with Cron jobs after updating to Mautic 3

**URL:** <https://forum.mautic.org/t/errors-with-cron-jobs-after-updating-to-mautic-3/15016>\
**Category:** Mautic 3 - Install/Upgrade Support\
**Created:** [June 30, 2020, 9:59am UTC](https://forum.mautic.org/t/errors-with-cron-jobs-after-updating-to-mautic-3/15016 "2020-06-30T09:59:29Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![henryweismann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henryweismann/32/3125_2.png) [@henryweismann](https://forum.mautic.org/u/henryweismann)\
**Post date:** [August 16, 2020, 11:06am UTC](https://forum.mautic.org/t/errors-with-cron-jobs-after-updating-to-mautic-3/15016/12 "2020-08-16T11:06:24Z")

</div>

I had this too:

> [16-Aug-2020 10:08:00 UTC] PHP Warning: Class ‘Tightenco\Collect\Support\LazyCollection’ not found in …/vendor/tightenco/collect/src/Collect/Support/alias.php on line 19  
> [16-Aug-2020 10:08:00 UTC] PHP Parse error: syntax error, unexpected ‘=’ in …/vendor/tightenco/collect/src/Collect/Support/LazyCollection.php on line 611

It was because MAUTIC requires PHP 7.2 and even though I had upgraded an htaccess setting had it at 7.0 still.

I also got a memory error after that was fixed:

[16-Aug-2020 10:53:07 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32768 bytes) in /home/jewishdata/public\_html/newsletter/app/bundles/LeadBundle/Model/CompanyModel.php on line 367  
[16-Aug-2020 10:53:07 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32768 bytes) in /home/jewishdata/public\_html/newsletter/vendor/psr/log/Psr/Log/LogLevel.php on line 1

Which we fixed by increasing the allotted memory via an ini file.

---

_[View the full topic](https://forum.mautic.org/t/errors-with-cron-jobs-after-updating-to-mautic-3/15016)._
