Multiple PHP Deprecated and Fatal Errors in UNA 13.1.0-RC2
Dear UNA Team
@Alex T⚜️ @LeonidS @Anton L @Alexander
When investigating my server for the issue I am having here: https://una.io/d/many-pages-not-loading-anymore-when (My dedicated server crashing all the time when trying to visit some UNA pages like persons and organizations profiles as a Guest/Unauthenticated user resulting in a 500 internal server error or 504 gateway timeout error), I discovered these PHP deprecated and fatal errors in my PHP Errors log:
/home/username_here/logs/xxxxxxx_com.php.error.log
There are PHP 8.2 (the PHP version I am running) compatibility issues in modules like:
- Quote of day
- Charts
- Profiler
- Also in other functions of the Captcha.
Here is a part of the log:
[06-Nov-2023 12:51:24 UTC] PHP Deprecated: Creation of dynamic property BxTemplCaptchaHCaptcha::$_sKeyPublic is deprecated in /home/xxxxxxx/public_html/inc/classes/BxDolCaptcha.php on line 62
[06-Nov-2023 12:51:24 UTC] PHP Deprecated: Creation of dynamic property BxTemplCaptchaHCaptcha::$_sKeyPrivate is deprecated in /home/xxxxxxx/public_html/inc/classes/BxDolCaptcha.php on line 63
[06-Nov-2023 12:51:24 UTC] PHP Deprecated: Creation of dynamic property BxTemplCaptchaHCaptcha::$_oTemplate is deprecated in /home/xxxxxxx/public_html/inc/classes/BxDolCaptcha.php on line 68
[06-Nov-2023 12:51:24 UTC] PHP Deprecated: Creation of dynamic property BxTemplCaptchaHCaptcha::$_sSkin is deprecated in /home/xxxxxxx/public_html/template/scripts/BxBaseCaptchaHCaptcha.php on line 23
[06-Nov-2023 12:51:24 UTC] PHP Deprecated: Creation of dynamic property BxQuoteOfDayConfig::$CNF is deprecated in /home/xxxxxxx/public_html/modules/boonex/quoteofday/classes/BxQuoteOfDayConfig.php on line 19
[06-Nov-2023 12:51:24 UTC] PHP Deprecated: Creation of dynamic property BxQuoteOfDayConfig::$_aGridObjects is deprecated in /home/xxxxxxx/public_html/modules/boonex/quoteofday/classes/BxQuoteOfDayConfig.php on line 34
[06-Nov-2023 12:51:57 UTC] PHP Deprecated: Creation of dynamic property BxChartsDb::$_sTableMostFollowedProfiles is deprecated in /home/xxxxxxx/public_html/modules/boonex/charts/classes/BxChartsDb.php on line 24
[06-Nov-2023 12:53:54 UTC] PHP Fatal error: Allowed memory size of 4294967296 bytes exhausted (tried to allocate 118784 bytes) in /home/xxxxxxx/public_html/modules/boonex/profiler/classes/BxProfiler.php on line 200
[06-Nov-2023 12:54:36 UTC] PHP Fatal error: Allowed memory size of 4294967296 bytes exhausted (tried to allocate 65536 bytes) in /home/xxxxxxx/public_html/inc/utils.inc.php on line 824
[06-Nov-2023 12:59:17 UTC] PHP Fatal error: Allowed memory size of 4294967296 bytes exhausted (tried to allocate 32768 bytes) in /home/xxxxxxx/public_html/inc/classes/BxDolLogs.php on line 1
Please help!
Thanks
-
-
·
Alex T⚜️
- ·
Thank you for the report, these errors should be fixed in the upcoming update 13.1.0-RC3
-
·
Alex T⚜️
-
- · OneEagle
-
·
In reply to Alex T⚜️
- ·
Thanks Alex.
-
- · mrochek
- ·
Hi @Alex T⚜️ , I had a similar problem. I have a site that is on 11.0.3 and it now has similar deprecated errors now that my server is on PHP 8.3. How do I upgrade the site when I do not have access to studio? I have detailed some errors at https://unacms.com/d/-allow_url_include-is-on-on-11-0-3
-
- · mrochek
-
·
In reply to mrochek
- ·
It turns out I had to regress to PHP 7.4 to get into my site. Now I have to figure out how to get from 11.0.3 to 14.0.0 B2. Every time I click the Ugrade button, it doesn't do anything.
-
- · mrochek
-
·
In reply to mrochek
- ·
Thanks to @Leonid S who helped me migrate my site up to 14.0.0 B2 by changing the "channel" in the Developer Settings to "beta".