Mautic Community Forums

Parse Error while running cron jobs

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

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

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