Title: Syntax Error
Last modified: November 24, 2022

---

# Syntax Error

 *  Resolved [trinitysummerside](https://wordpress.org/support/users/trinitysummerside/)
 * (@trinitysummerside)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-227/)
 * If the Events calendar is activated the entire website shuts down. I am running
   version 6.0.4
 * The plug in error that is being displayed on the WordPress plugin page is this.
 * An error of type E_PARSE was caused in line 412 of the file /var/www/vhosts/trinitysummerside.
   ca/httpdocs/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/View.php.
   Error message: syntax error, unexpected ‘=’
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsyntax-error-227%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Thread Starter [trinitysummerside](https://wordpress.org/support/users/trinitysummerside/)
 * (@trinitysummerside)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16231744)
 * The webpage will open if I disable the plug-in.
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16234356)
 * Hi [@trinitysummerside](https://wordpress.org/support/users/trinitysummerside/),
 * Thanks for reaching out.
 * There could be a plugin/theme conflict on your end. Could you try running a [conflict test](https://theeventscalendar.com/knowledgebase/k/testing-for-conflicts/)?
   I suggest conducting these tests on a [Staging Server](https://theeventscalendar.com/knowledgebase/k/creating-and-using-a-wordpress-staging-site/).
 * If that doesn’t help, could you provide the full error message and the version
   of the following?
    1. PHP
    2. WordPress
    3. The Events Calendar
    4. Theme
 *  Thread Starter [trinitysummerside](https://wordpress.org/support/users/trinitysummerside/)
 * (@trinitysummerside)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16234884)
 * Hello.  Thank you for your email.  Sorry, I’m not able to run tests on a staging
   server.
    This is the full error message.
 * An error of type E_PARSE was caused in line 412 of the file /var/www/vhosts/trinitysummerside.
   ca/httpdocs/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/View.php.
   Error message: syntax error, unexpected ‘=’
 * Here are the versions you requested
 * PHP – 7.0.33
    WordPress – 6.1.1 The Events Calendar Theme – Salient Child Theme
   Version: 0.1
 *  Plugin Support [tristan083](https://wordpress.org/support/users/tristan083/)
 * (@tristan083)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16238007)
 * Hi [@trinitysummerside](https://wordpress.org/support/users/trinitysummerside/),
 * Thank you for the information. By any chance, would you be able to configure 
   your server to use at least PHP 7.4 and see if that helps?
 * Feel free to let me know how you go or if you have further questions/concerns.
 *  Thread Starter [trinitysummerside](https://wordpress.org/support/users/trinitysummerside/)
 * (@trinitysummerside)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16239123)
 * Thank you for the advice. I don’t personally know how to do that. I will need
   to contact the web hosting company. Is there any other way?
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16241233)
 * Hi [@trinitysummerside](https://wordpress.org/support/users/trinitysummerside/),
 * The issue could be related to a function that does not exist or supported in 
   PHP 7.0.33. For now, please update to PHP 7.4, it would be best to use this version
   that we fully support.
 * If you don’t have access in creating a staging site from your server, you could
   try using the [WP Staging plugin](https://wordpress.org/plugins/wp-staging/) 
   instead. This will allow you to create a staging site from your WP Admin dashboard.
 * Let me know how it goes.
 *  Thread Starter [trinitysummerside](https://wordpress.org/support/users/trinitysummerside/)
 * (@trinitysummerside)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16255850)
 * Sorry for the delay. We have finally upgraded the PHP to 8. The errors have gone
   away from the site, and the new calendar works.
 * But the home page plugin isn’t working. You’ll see what I mean if you go to
 * [https://trinitysummerside.ca/](https://trinitysummerside.ca/)
 * Is there something I have to do to re-enable that?
 *  Plugin Support [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16264353)
 * Hi [@trinitysummerside](https://wordpress.org/support/users/trinitysummerside/),
   good to know that you were able to upgrade to PHP 8, and no worries about the
   delay here. Let’s see.
 * I can confirm that I was able to navigate through the events archive page just
   fine.
 * See the screen recording here:
    [https://share.getcloudapp.com/7KujykO7](https://share.getcloudapp.com/7KujykO7)
 * Regarding the shortcode `[tribe_events_list limit="7"]`, the shortcodes are only
   available with the Pro version. [https://theeventscalendar.com/knowledgebase/k/shortcodes/](https://theeventscalendar.com/knowledgebase/k/shortcodes/)
 * Let me know if that helps.
 * Best,
    Abz
 *  Thread Starter [trinitysummerside](https://wordpress.org/support/users/trinitysummerside/)
 * (@trinitysummerside)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16264830)
 * Thank you for your response. So the shortcode issue…is that new for it to be 
   only available with the Pro version? We don’t have that version at the moment,
   but it used to work fine.
 *  Thread Starter [trinitysummerside](https://wordpress.org/support/users/trinitysummerside/)
 * (@trinitysummerside)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16265454)
 * When I tried to enable the Pro version…I received this error.
 * An error of type E_COMPILE_ERROR was caused in line 19 of the file /var/www/vhosts/
   trinitysummerside.ca/httpdocs/wp-content/plugins/events-calendar-pro/src/Tribe/
   Advanced_List_Widget.php. Error message: Declaration of Tribe__Events__Pro__Advanced_List_Widget::
   __construct() must be compatible with Tribe\Widget\Widget_Interface::__construct(
   $id_base = ”, $name = ”, $widget_options = [], $control_options = [])
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16274715)
 * Hi [@trinitysummerside](https://wordpress.org/support/users/trinitysummerside/),
 * For us to help you better and follow [WordPress Forum Guidelines](https://wordpress.org/support/guidelines/)
   regarding premium users, please open a [Support Ticket](https://theeventscalendar.com/support/#contact)
   on our Help Desk and please feel free to mention me on the ticket.
 * Regards,
    Darian
 *  Plugin Support [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16347854)
 * This thread has been inactive for a while, so we’ll go ahead and mark it **Resolved**.
   Please feel free to open a new thread if any other questions come up, and we’d
   be happy to help.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Syntax Error’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

## Tags

 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 12 replies
 * 4 participants
 * Last reply from: [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-227/#post-16347854)
 * Status: resolved