• Resolved karma007

    (@karma007)


    Extension Simple calendar 3.2.2 breaks my website. 3.2.1 is working :

    [19-Aug-2023 11:13:53 UTC] PHP Fatal error: Uncaught Error: Call to undefined function str_contains() in /home/foudujeu/karatecolombes.fr/wp-content/plugins/google-calendar-events/third-party/nesbot/carbon/src/Carbon/Traits/Creator.php:70
    Stack trace: 0 /home/foudujeu/karatecolombes.fr/wp-content/plugins/google-calendar-events/third-party/nesbot/carbon/src/Carbon/Traits/Creator.php(223): SimpleCalendar\plugin_deps\Carbon\Carbon->__construct(NULL, NULL) 1 /home/foudujeu/karatecolombes.fr/wp-content/plugins/google-calendar-events/includes/functions/shared.php(243): SimpleCalendar\plugin_deps\Carbon\Carbon::now() 2 /home/foudujeu/karatecolombes.fr/wp-content/plugins/google-calendar-events/includes/functions/shared.php(170): simcal_get_calendar_names_i18n(‘month’, ‘full’) 3 /home/foudujeu/karatecolombes.fr/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php(134): simcal_common_scripts_variables() 4 /home/foudujeu/karatecolombes.fr/wp-content/plugins/google-calendar-events/includes/assets.php(128): SimpleCalenda in /home/foudujeu/karatecolombes.fr/wp-content/plugins/google-calendar-events/third-party/nesbot/carbon/src/Carbon/Traits/Creator.php on line 70

Viewing 4 replies - 1 through 4 (of 4 total)
  • i have the same issue, had to deactivate the pro plugin to prevent the site crashing with fatal error. Is there any update to this please ?

    Plugin Author Rohit Singhal

    (@rosinghal)

    Apologies for the issues caused.
    Can you please add information about your PHP and WP version?

    Plugin Author Rohit Singhal

    (@rosinghal)

    We have released a patch with v3.2.3. Issue was str_contains is added in a library but PHP supports it only from version 8.x.
    We have added a polyfill, it should not cause any issues now.

    Thread Starter karma007

    (@karma007)

    Solved. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘fatal error on version 3.2.2’ is closed to new replies.