Mautic Community Forums

Campaign Trigger Issues

Hello,



I am getting the following error when trying to trigger a campaign. Can anyone help?



Triggering events for campaign 3

Triggering first level events

1 total events(s) to be processed in batches of 100

0/1 [>---------------------------] 0%



[SymfonyComponentDebugExceptionFatalErrorException]

Parse Error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{’ or ‘$’





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

Hello,

I am getting the following error when trying to trigger a campaign. Can anyone help?

Triggering events for campaign 3
Triggering first level events
1 total events(s) to be processed in batches of 100
0/1 [>---------------------------] 0%

[SymfonyComponentDebugExceptionFatalErrorException]
Parse Error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{’ or ‘$’

mautic:campaigns:trigger [-i|–campaign-id [CAMPAIGN-ID]] [–scheduled-only] [–negative-only] [-l|–batch-limit [BATCH-LIMIT]] [-m|–max-events [MAX-EVENTS]] [-f|–force] [-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] [–]