Backend fatal error: PHP Fatal error: 'break' not in the 'loop' or 'switch' context in xxx/public_html/core/components/blox/inc/adodb-time.inc.php on line 1009\n, referer: https:xxxx.com/
Backend log: PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; xettcal has a deprecated constructor in xxx/public_html/core/components/blox/inc/xettcal.class.inc.php on line 2\n, referer: https:xxxx.com/
This question has been answered by jimmyjazz. See the first response.
Hi,
After upgrading my Modx site form 2.3.5 to the latest version and pimping my server from php 5.6 to php 7.1 I get this error :
Backend fatal error: PHP Fatal error: 'break' not in the 'loop' or 'switch' context in xxx/public_html/core/components/blox/inc/adodb-time.inc.php on line 1009\n, referer: https:xxxx.com/
How can I fix this please ?
The page that uses Migx Calendar with BLOX is a White Screen Of Death Now ...
I commented out that function on line 1009, and the page loads again, but I don't know if this will impair the good functioning of the Migx Calendar.
Now I get another (not WSOD) PHP ERROR:
Backend log: PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; xettcal has a deprecated constructor in xxx/public_html/core/components/blox/inc/xettcal.class.inc.php on line 2\n, referer: https:xxxx.com/
thanks