Fatal Error – bug report
-
I cannot link to my page, since it’s in local development right now (thus I don’t need an IMMEDIATE fix, but I figured I should report the bug). I know this error has already been reported twice in the last few hours, but I figured I’d add what info I have (since it’s not in the other reports).
Running PHP 7.3.1, WordPress 5.5.1
No other plugins activated, using Twenty Twenty theme.
I activate Simple Calendar v3.1.32, and the back end of WordPress is fine (I’ll note that on the back end, when I turn on Query Monitor, there’s nothing reported). The front end, however, triggers a fatal error (I’m just c/ping the whole thing here for ease – probably more information than you need, but better to have too much than not enough):
( ! ) Fatal error: Uncaught Error: Class ‘Carbon\Carbon’ not found in /Users/person/Sites/site.dev/wp-content/plugins/google-calendar-events/includes/functions/shared.php on line 230
( ! ) Error: Class ‘Carbon\Carbon’ not found in /Users/person/Sites/site.dev/wp-content/plugins/google-calendar-events/includes/functions/shared.php on line 230
Call Stack
# Time Memory Function Location
1 0.0012 461696 {main}( ) …/index.php:0
2 0.0013 463432 require( ‘/Users/person/Sites/site.dev/wp-blog-header.php’ ) …/index.php:17
3 0.1664 26867568 require_once( ‘/Users/person/Sites/site.dev/wp-includes/template-loader.php’ ) …/wp-blog-header.php:19
4 0.1703 27002368 include( ‘/Users/person/Sites/site.dev/wp-content/themes/twentytwenty/singular.php’ ) …/template-loader.php:106
5 0.1703 27002368 get_header( ) …/singular.php:12
6 0.1703 27002744 locate_template( ) …/general-template.php:48
7 0.1703 27002856 load_template( ) …/template.php:676
8 0.1710 27020328 require_once( ‘/Users/person/Sites/site.dev/wp-content/themes/twentytwenty/header.php’ ) …/template.php:730
9 0.1714 27027920 wp_head( ) …/header.php:23
10 0.1714 27027920 do_action( ) …/general-template.php:3006
11 0.1714 27028296 WP_Hook->do_action( ) …/plugin.php:478
12 0.1715 27028296 WP_Hook->apply_filters( ) …/class-wp-hook.php:311
13 0.1719 27029840 wp_enqueue_scripts( ) …/class-wp-hook.php:287
14 0.1719 27029840 do_action( ) …/script-loader.php:1999
15 0.1719 27030216 WP_Hook->do_action( ) …/plugin.php:478
16 0.1719 27030216 WP_Hook->apply_filters( ) …/class-wp-hook.php:311
17 0.1749 27043464 SimpleCalendar\Assets->load( ) …/class-wp-hook.php:287
18 0.1750 27043936 SimpleCalendar\Calendars\Views\Default_Calendar_Grid->scripts( ) …/assets.php:126
19 0.1750 27046360 simcal_common_scripts_variables( ) …/default-calendar-grid.php:143
20 0.1751 27046832 simcal_get_calendar_names_i18n( ) …/shared.php:155Also from my PHP error log, which pretty much reflects the same, but may give a little more info:
[10-Sep-2020 13:13:26 UTC] PHP Fatal error: Uncaught Error: Class ‘Carbon\Carbon’ not found in /Users/person/Sites/site.dev/wp-content/plugins/google-calendar-events/includes/functions/shared.php:230
Stack trace:
#0 /Users/person/Sites/site.dev/wp-content/plugins/google-calendar-events/includes/functions/shared.php(155): simcal_get_calendar_names_i18n(‘month’, ‘full’)
#1 /Users/person/Sites/site.dev/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php(143): simcal_common_scripts_variables()
#2 /Users/person/Sites/site.dev/wp-content/plugins/google-calendar-events/includes/assets.php(126): SimpleCalendar\Calendars\Views\Default_Calendar_Grid->scripts(‘.min’)
#3 /Users/person/Sites/site.dev/wp-includes/class-wp-hook.php(287): SimpleCalendar\Assets->load(”)
#4 /Users/person/Sites/site.dev/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#5 /Users/person/Sites/site.dev/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#6 /Users/person/Sites/site.dev in /Users/person/Sites/site.dev/wp-content/plugins/google-calendar-events/includes/functions/shared.php on line 230Hope that helps you out.
- The topic ‘Fatal Error – bug report’ is closed to new replies.