Support » Plugin: Simple Calendar - Google Calendar Plugin » Critical site error after update

  • Resolved Wendy

    (@craew)


    After an update to version 3.1.32 the website return a critical error for this plugin. I currently disabled the plugin.

    Got error 'PHP message: PHP Parse error:  syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/xxxx/apps/default/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1032\n', referer: https://xxxx.be/wp-admin/
    
    Got error 'PHP message: PHP Parse error:  syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/xxxx/apps/default/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1032\n', referer: https://xxxx.be/wp-admin/
    
    Got error 'PHP message: PHP Parse error:  syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/xxxx/apps/default/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1032\n', referer: http://xxxx.be
    
    Got error 'PHP message: PHP Parse error:  syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/xxxx/apps/default/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1032\n', referer: https://xxxx.be/wp-admin/network/site-info.php?id=6
Viewing 15 replies - 46 through 60 (of 71 total)
  • @kzeni, it’s great that you found a way to make this plugin update work for you. I, however, have the plugin installed on several sites and to delete it in each location and then upload the >14K files to each of these sites will take me more time that I can afford right now. I’m okay with the previous (working) version of the plugin, so I’m fine to wait for an official fix from the developer. I’ll bet other users may feel the same way. Cheers.

    Seems like a reason for this can be that your Hosting server does not support PHP Option Choosing…

    Also experiencing critical errors after 5.5.1 upgrade. I have a legacy PHP which may be causing it but hoping there is a fix. Has anyone found another plugin that works?

    The site is currently in the process of moving to another hosting.

    On the new hosting the issues seems to be solved.
    PHP 7.3.19
    cURL 7.68.0 OpenSSL/1.1.1g
    SQL 8.0.20

    The other server (with the issues) has the following versions:
    PHP 7.0.33
    cURL 7.52.1 OpenSSL/1.0.2u
    SQL 10.1.43-MariaDB

    Issue solved on my side.
    I had a critical error on PHP 7.3, but it works again on PHP 7.4.

    @mozzie34 You really should fix your outdated PHP version. Take a look at https://www.php.net/supported-versions.php when it comes to the PHP version you’re running (ideally in the green with yellow being reasonable yet, and anything outside of support really shouldn’t be used [even more so the longer it has been out-of-support for.]) Software (WordPress itself, themes, plugins, etc.) then considers that as being the PHP version(s) to target & guarantee compatibility with.

    @simplecalendarsupport Any update on the issue? Are you giving my exclusion of all of the unnecessary Google API service files a try (per the last paragraph of https://wordpress.org/support/topic/critical-site-error-after-update/page/3/#post-13363858)?

    I see several people with issues and status is resolved?
    I still have problems.

    @arjanbrons Other people and I are waiting for the plugin support to issue an official fix, but a few people have found interim solutions for themselves.

    ewgny

    (@ewgny)

    Why is this marked resolved? With such a big problem, why not release a roll back version until the issue is actually resolved? Some of us are able to figure out a workaround, but others can’t. Which makes Simple Calendar well … not so Simple

    KZeni

    (@kzeni)

    @ewgny If you have different issue details that the posted workaround doesn’t resolve, I’d consider creating a new support forum topic to specifically address the error you’re giving & the situation that’s preventing the (S)FTP workaround from working like it has for others here (possibly why it was marked as resolved since the multiple posters had their issue resolved via the workaround.)

    @simplecalendarsupport Still curious on the status of the fix (is it just reducing the number of files to prevent limited hosting environments from running into issues [likely by cleaning up the Google API services in vendors] likely due to slow extraction, sluggish storage, etc…?)

    mgc

    (@mgc)

    @simplecalendarsupport This is NOT resolved for me. I tried deactivating and deleting the plugin and then took the 10+ minutes to upload the 3.1.32 folder to one of my sites. It didn’t appear in the list of plugins. So then I tried to find it in the WordPress plugins repository to re-install it so that it would appear. It caused a critical error, again, disabling my site. I use the plugin on several sites and can’t take this much time to continue to troubleshoot and find workarounds. Can you PLEASE fix this? Thank you.

    dljordaneku

    (@dljordaneku)

    @mgc download the previous version zip file and do a manual upload through the WordPress admin panel.

    dljordaneku

    (@dljordaneku)

    @mgc here is the link to download previous versions.

    https://wordpress.org/plugins/google-calendar-events/advanced/

    mgc

    (@mgc)

    Hi @dljordaneku — it’s very kind of you to offer a helpful suggestion. I’ve restored my site from backup (I wouldn’t risk trying this otherwise) and continue to use the previous (working) version of the plugin. Still hoping the plugin developers issue an official fix that works for everyone. Thank you for your consideration! Cheers.

    dljordaneku

    (@dljordaneku)

    @mgc no problem. Just wanted to make sure you were up and running.

Viewing 15 replies - 46 through 60 (of 71 total)
  • You must be logged in to reply to this topic.