# Campaign Trigger Issues

**URL:** <https://forum.mautic.org/t/campaign-trigger-issues/7101>\
**Category:** Product Support\
**Created:** [January 10, 2017, 2:53am UTC](https://forum.mautic.org/t/campaign-trigger-issues/7101 "2017-01-10T02:53:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mblcote](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mblcote](https://forum.mautic.org/u/mblcote)\
**Post date:** [January 10, 2017, 2:53am UTC](https://forum.mautic.org/t/campaign-trigger-issues/7101/1 "2017-01-10T02:53:07Z")

</div>

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]

---

<div class="post-metadata">

**Author:** ![mblcote](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mblcote](https://forum.mautic.org/u/mblcote)\
**Post date:** [January 10, 2017, 2:53am UTC](https://forum.mautic.org/t/campaign-trigger-issues/7101/2 "2017-01-10T02:53:07Z")

</div>

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] [–]
