Mautic Community Forums

Cron not working with mautic

Hello,

I keep getting this error:Content-type: text/html






Parse error: syntax error, unexpected ‘$result’ (T_VARIABLE) in /home4/kashrock/public_html/socialkashmedia/mautic/plugins/MauticCitrixBundle/Helper/CitrixHelper.php on line 137




here’s the setting: https://drive.google.com/file/d/0B_XW_bDouC_cbWRRc214SjhqODg/view?usp=sharing



Please help let me know how to fix the issue.



Thanks!

Hello,
I keep getting this error:Content-type: text/html


Parse error: syntax error, unexpected '$result' (T_VARIABLE) in /home4/kashrock/public_html/socialkashmedia/mautic/plugins/MauticCitrixBundle/Helper/CitrixHelper.php on line 137

here’s the setting: https://drive.google.com/file/d/0B_XW_bDouC_cbWRRc214SjhqODg/view?usp=sharing

Please help let me know how to fix the issue.

Thanks!

Hi, i found this solution to set as default php version 7 o whatever for CLi execution.
I Hope help!
see in the thread: https://www.mautic.org/community/index.php//6302-cron-error-on-new-install/0

@ajfrank

There may be two possibilities

  1. Check “How should email be handled?” in the Email Configuration, if you set it to queue, you have to set the cron for sending emails php app/console mautic:messages:send
  2. Your Campaign Trigger Crons are not set yet. you can find all cronjobs for mautic in the following link