• Resolved trinitysummerside

    (@trinitysummerside)


    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 to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter trinitysummerside

    (@trinitysummerside)

    The webpage will open if I disable the plug-in.

    Plugin Support Darian

    (@d0153)

    Hi @trinitysummerside,

    Thanks for reaching out.

    There could be a plugin/theme conflict on your end. Could you try running a conflict test? I suggest conducting these tests on a Staging Server.

    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

    (@trinitysummerside)

    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

    (@tristan083)

    Hi @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

    (@trinitysummerside)

    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

    (@d0153)

    Hi @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 instead. This will allow you to create a staging site from your WP Admin dashboard.

    Let me know how it goes.

    Thread Starter trinitysummerside

    (@trinitysummerside)

    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/

    Is there something I have to do to re-enable that?

    Plugin Support Abz

    (@abzlevelup)

    Hi @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

    Regarding the shortcode [tribe_events_list limit="7"], the shortcodes are only available with the Pro version. https://theeventscalendar.com/knowledgebase/k/shortcodes/

    Let me know if that helps.

    Best,
    Abz

    Thread Starter trinitysummerside

    (@trinitysummerside)

    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

    (@trinitysummerside)

    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

    (@d0153)

    Hi @trinitysummerside,

    For us to help you better and follow WordPress Forum Guidelines regarding premium users, please open a Support Ticket on our Help Desk and please feel free to mention me on the ticket.

    Regards,
    Darian

    Plugin Support Abz

    (@abzlevelup)

    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.