Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
After upgrading our server to PHP 8.2, we are getting a lot of Warnings in the logs. Since then we are getting the following error message in the debug.log.
The main culprit is this one:
- Uncaught Error: Call to undefined function str_rot13() in /home/milomenc/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzAddons.php:529
Stack trace:
- #0 /home/milo/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzAddons.php(497): WpdiscuzAddons->check()
- #1 /home/milo/public_html/wp-includes/class-wp-hook.php(324): WpdiscuzAddons->addonsCheck()
- #2 /home/milo/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
- #3 /home/milo/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
- #4 /home/milo/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzOptions.php(1382): do_action()
- #5 /home/milo/public_html/wp-includes/class-wp-hook.php(324): WpdiscuzOptions->saveAndResetOptionsAndPhrases()
- #6 /home/milo/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
- #7 /home/milo/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
- #8 /home/milo/public_html/wp-admin/admin.php(176): do_action()
- #9 /home/milo/public_html/wp-admin/index.php(10): require_once('/home/milomenc/...')
- #10 {main} thrown in /home/milo/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzAddons.php on line 529
How can this issue be resolved?
Both of these weren't an issue in PHP 7.4, but PHP 8.2 is a little stricter about these things.
Hi,
Please contact your hosting support and ask them if the following function is enabled or not: https://www.php.net/manual/en/function.str-rot13.php
They should enable this default PHP function.