PHP Deprecated error
-
Hi, I’ve been running this plugin and really like how easy it is to use.
Today I was looking at the debug log and noticed alot of “PHP Deprecated error” errors associate with the plugin and was wondering if it has anything to do that I’m running PHP ver 8.4? Some of the message seem to do with the timezone or start of the week.
I will copy a could of lines of error messages for reference. Thank you!!
[24-Apr-2026 02:30:08 UTC] PHP Deprecated: Return type of SimpleCalendar\plugin_deps\Carbon\Traits\Date::createFromTimestamp($timestamp, $tz = null) should either be compatible with DateTime::createFromTimestamp(int|float $timestamp): static, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lgwlbtke/public_html/wp-content/plugins/google-calendar-events/third-party/nesbot/carbon/src/Carbon/Traits/Timestamp.php on line 28
[24-Apr-2026 02:30:08 UTC] PHP Deprecated: SimpleCalendar\plugin_deps\Carbon\CarbonTimeZone::toOffsetName(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/lgwlbtke/public_html/wp-content/plugins/google-calendar-events/third-party/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 134
[24-Apr-2026 02:30:08 UTC] PHP Deprecated: SimpleCalendar\plugin_deps\Carbon\CarbonTimeZone::toOffsetTimeZone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/lgwlbtke/public_html/wp-content/plugins/google-calendar-events/third-party/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 145
[24-Apr-2026 02:30:08 UTC] PHP Deprecated: SimpleCalendar\plugin_deps\Carbon\CarbonTimeZone::toRegionName(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/lgwlbtke/public_html/wp-content/plugins/google-calendar-events/third-party/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 160
[24-Apr-2026 02:30:08 UTC] PHP Deprecated: SimpleCalendar\plugin_deps\Carbon\CarbonTimeZone::toRegionTimeZone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/lgwlbtke/public_html/wp-content/plugins/google-calendar-events/third-party/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 194The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.