Help with Cronjob issue!

Hi,



So i’m running php 5.6, but am still having some cronjob issues.

I’m trying to run a campaign, but the campaign trigger cron keeps ending in an error!


Code:
Triggering events for campaign 1 Triggering first level events

Parse error: syntax error, unexpected ‘[’ in /home/dh_4xekgk/mautic.fluxbloc.com/app/bundles/ReportBundle/Model/ReportModel.php on line 726

[SymfonyComponentDebugExceptionFatalErrorException]
Parse Error: syntax error, unexpected ‘[’

mautic:campaigns:trigger [-i|–campaign-id [CAMPAIGN-ID]] [–scheduled-only] [–negative-only] [-l|–batch-limit [BATCH-LIMIT]] [-m|–max-events [MAX-EVENTS]] [-f|–force] [-t|–timeout TIMEOUT] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–] [code]

[/code]

Can anyone help with this? Mautic was great until I realized I cant run campaigns : (
1 Like

Hi,

So i’m running php 5.6, but am still having some cronjob issues.
I’m trying to run a campaign, but the campaign trigger cron keeps ending in an error!


[code]
Triggering events for campaign 1
Triggering first level events

Parse error: syntax error, unexpected ‘[’ in /home/dh_4xekgk/mautic.fluxbloc.com/app/bundles/ReportBundle/Model/ReportModel.php on line 726

[SymfonyComponentDebugExceptionFatalErrorException]
Parse Error: syntax error, unexpected ‘[’

mautic:campaigns:trigger [-i|–campaign-id [CAMPAIGN-ID]] [–scheduled-only] [–negative-only] [-l|–batch-limit [BATCH-LIMIT]] [-m|–max-events [MAX-EVENTS]] [-f|–force] [-t|–timeout TIMEOUT] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–] [/code]

Can anyone help with this? Mautic was great until I realized I cant run campaigns : (

Anyone?