Hi,
After site update to Joomla 6, despite of Jevents warning, my site Crash. JOOMLA -> ERROR :
Access to undeclared static property JevDate::$gmt
SOLUTION
Edit: JROOT/components/com_jevents/libraries/jevdate.php
line 19 - replace:
#[\AllowDynamicProperties]
class JevDate extends Date {
public $mytz;
with
#[\AllowDynamicProperties]
class JevDate extends Date {
/* Gilles - Modif ChatGPT
erreur : " Access to undeclared static property JevDate::$gmt " */
public static $gmt;
public static $stz;
public $mytz;
It fixes Joomla! 6.0 crash. PHP 8.3
See attached " jevdate.php " patched file
Best regards,
Gil
After site update to Joomla 6, despite of Jevents warning, my site Crash. JOOMLA -> ERROR :
Access to undeclared static property JevDate::$gmt
SOLUTION
Edit: JROOT/components/com_jevents/libraries/jevdate.php
line 19 - replace:
#[\AllowDynamicProperties]
class JevDate extends Date {
public $mytz;
with
#[\AllowDynamicProperties]
class JevDate extends Date {
/* Gilles - Modif ChatGPT
erreur : " Access to undeclared static property JevDate::$gmt " */
public static $gmt;
public static $stz;
public $mytz;
It fixes Joomla! 6.0 crash. PHP 8.3
See attached " jevdate.php " patched file
Best regards,
Gil