• Resolved Anonymous User 18245252

    (@anonymized-18245252)


    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: https://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 - 1 through 15 (of 71 total)
  • Same error here.

    Stan

    (@stanatgeminiweb)

    I’m also getting a critical error from the simple calendar plugin. I shut off all other plugins and the error seems to depend solely on the Simple Calendar plugin.

    • This reply was modified 4 years, 2 months ago by Stan.

    Same. Crashed my site. I restored from yesterday’s backup. I’ll hold off on updating that plugin.

    Updating to the latest version crashed my site too

    PHP Warning: include_once(vendor/autoload.php): failed to open stream: No such file or directory in /www/wp-content/plugins/google-calendar-events/google-calendar-events.php on line 58

    mee too, same critical error

    simplecalendarsupport

    (@simplecalendarsupport)

    Hello everyone,

    Could you please share your server details with us so we can investigate what might be happening?

    PHP Version
    MySQL Version
    Curl Version

    We are assuming here that standard troubleshooting (disabling other plugins, etc) has been done already.

    Finally, can this be narrowed down to a specific type of calendar (list, grid) or maybe custom date settings?

    Thank you for your patience while we iron this out for you all!

    Ended up getting

    
    Fatal error: Uncaught Error: Class
    'Carbon\Carbon' not found in
    /var/www/wp-content/plugins/google-calendar-events/includes/functions/shared.php:230
    Stack trace: #0
    /var/www/wp-content/plugins/google-calendar-events/includes/functions/shared.php(155):
    simcal_get_calendar_names_i18n('month',
    'full') #1
    /var/www/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php(143):
    simcal_common_scripts_variables() #2
    /var/www/wp-content/plugins/google-calendar-events/includes/assets.php(126):
    SimpleCalendar\Calendars\Views\Default_Calendar_Grid->scripts('.min')
    #3
    /var/www/wp-includes/class-wp-hook.php(287):
    SimpleCalendar\Assets->load('') #4
    /var/www/wp-includes/class-wp-hook.php(311):
    WP_Hook->apply_filters(NULL, Array) #5
    /var/www/wp-includes/plugin.php(478):
    WP_Hook->do_action(Array) #6
    /var/www/wp-includes/script-loader.php(1999):
    do_action('wp_enqueue_scri...') #7
    /var/www/wp-includes/class-wp-hook.php(287):
    wp_enqueue_scripts('') #8
    /var/www/wp-includes/class-wp-hook.php(311):
    WP_Hook->ap in
    /var/www/wp-content/plugins/google-calendar-events/includes/functions/shared.php
    on line 230
    

    on one of my sites with the recent update. Different from above, but it also points to the Carbon code being problematic.

    This was only being encountered on the public pages of the website while the site admin was still working fine.

    PHP Version: 7.3.12 (Supports 64bit values)
    MySQL Version: 5.6.32-78.0-log
    Curl Version: 7.45.0 OpenSSL/1.0.1e

    • This reply was modified 4 years, 2 months ago by KZeni. Reason: Added server info

    SiteGround Shared Hosting
    All other plugins updated
    WordPress 5.5.1
    PHP version 7.3.16
    mysqli 5.6.40-84.0-log
    cURL version 7.59.0 OpenSSL/1.0.2r

    Simple Calendar version 3.1.31 working with a grid and a list
    Unable to update to 3.1.32
    Hope this helps

    Also failed on our site; it’s now insisting that the “Simple Calendar core plugin” be installed and activated – which it is. Attempted a re-install of the plugin, and of course the directory already exists.
    All calendars on my site are now offline… (it’s a school website, and school starts back up in a few days! Parents are already emailing…lol)

    I fixed my issue by deleting the plugin and then uploading it manually via FTP. Once the upload completed, I reactivated the plugin and the issue was no longer present.

    Must’ve been a case where the hosting being used had an issue during the update process (partial download/extraction of the files…?) I’d recommend this for others to try if you have FTP access to your site (the issues might be different due to the update stopping at a different place while they technically might’ve had the same underlying cause [which using FTP to upload the current version of the plugin guarantees isn’t an issue since you can see that all files were successfully uploaded before activating.])

    PHP Version: 7.2.30
    MySQL Version: 5.7.28
    Curl Version: 7.58.0

    I deleted the plugin and pro-plugin from the site, and reinstalled using the original plugin tools; but the error “The Simple Calendar FullCalendar add-on requires the Simple Calendar core plugin to be installed and activated.” Still exists.

    Calendars are still broken across the site. Please advise next best steps.
    Thank you!

    • This reply was modified 4 years, 2 months ago by adminnetwork.
    simplecalendarsupport

    (@simplecalendarsupport)

    @kzeni To confirm, you installed 3.1.32 manually and it fixed the issue for you?

    This could be the case for others as well then. The error that is popping up is if you are running a version of PHP less than 7.1+

    Could someone try deleting the plugin from the admin and then installing 3.1.32 through that “Add New” and searching “Simple Calendar”? If you do this, just make sure that the option to delete the settings is not enabled that way all of your calendar settings will stay saved when you delete it.

    We are still looking into this issue to find out if there is anything else we can do to get it working for you all.

    Hi – I tried this step : Could someone try deleting the plugin from the admin and then installing 3.1.32 through that “Add New” and searching “Simple Calendar”?

    The install failed – it told me the directory already existed.
    I had to go back to my originally installed .zip file that I downloaded from you all over a year ago, and re-upload it – fortunately everything else was still there; but the error persists that I need to install the ‘core’ (though I can’t because it’s already there).

    Thanks so much for looking into this! Hoping nothing needs to be rolled back.

    @simplecalendarsupport – please note that we are running PHP 7.2 – so the theory that it’s the PHP version causing the problem isn’t quite correct. Happy to hop on a chat with you today sometime if it will help troubleshoot. I don’t want to delete and use a different plugin after a year of being happy with your professional version.

Viewing 15 replies - 1 through 15 (of 71 total)
  • The topic ‘Critical site error after update’ is closed to new replies.