# Parse Error while running cron jobs

**URL:** <https://forum.mautic.org/t/parse-error-while-running-cron-jobs/6621>\
**Category:** Product Support\
**Created:** [November 22, 2016, 5:27am UTC](https://forum.mautic.org/t/parse-error-while-running-cron-jobs/6621 "2016-11-22T05:27:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajaypalsofttrix](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@ajaypalsofttrix](https://forum.mautic.org/u/ajaypalsofttrix)\
**Post date:** [November 22, 2016, 5:27am UTC](https://forum.mautic.org/t/parse-error-while-running-cron-jobs/6621/1 "2016-11-22T05:27:31Z")

</div>

Hi All, Being a newbie to Mautic, and after setting up the installation and cron jobs on server, I am getting the below mentioned error through cron job notification. I have set the PHP version to 5.6 as required for Mautic on server.  
  
  
  
PHP Parse error: syntax error, unexpected ‘class’ (T\_CLASS), expecting identifier (T\_STRING) or variable (T\_VARIABLE) or ‘{’ or ‘$’ in /home3/msarig/public\_html/eaziron.com/mautic/app/bundles/FormBundle/EventListener/FormSubscriber.php on line 143  
  
  
  
Thanks in advance for the support

---

<div class="post-metadata">

**Author:** ![ajaypalsofttrix](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@ajaypalsofttrix](https://forum.mautic.org/u/ajaypalsofttrix)\
**Post date:** [November 22, 2016, 5:27am UTC](https://forum.mautic.org/t/parse-error-while-running-cron-jobs/6621/2 "2016-11-22T05:27:31Z")

</div>

Hi All, Being a newbie to Mautic, and after setting up the installation and cron jobs on server, I am getting the below mentioned error through cron job notification. I have set the PHP version to 5.6 as required for Mautic on server.

PHP Parse error: syntax error, unexpected ‘class’ (T\_CLASS), expecting identifier (T\_STRING) or variable (T\_VARIABLE) or ‘{’ or ‘$’ in /home3/msarig/public\_html/eaziron.com/mautic/app/bundles/FormBundle/EventListener/FormSubscriber.php on line 143

Thanks in advance for the support

---

<div class="post-metadata">

**Author:** ![trafasi](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@trafasi](https://forum.mautic.org/u/trafasi)\
**Post date:** [December 6, 2016, 3:35pm UTC](https://forum.mautic.org/t/parse-error-while-running-cron-jobs/6621/3 "2016-12-06T15:35:23Z")

</div>

same problem here : Parse error: syntax error, unexpected ‘class’ (T\_CLASS), expecting identifier (T\_STRING) or variable (T\_VARIABLE) or ‘{’ or ‘$’ in //app/bundles/FormBundle/EventListener/FormSubscriber.php on line 143
