The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
PHP 8.2 Compatibili...
 
Share:
Notifications
Clear all

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.

 

Bug [Solved] PHP 8.2 Compatibility Issue

5 Posts
2 Users
2 Reactions
289 Views
Posts: 5
Topic starter
(@r3ndy)
Active Member
Joined: 5 months ago

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.

4 Replies
Asti
Posts: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

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.

Reply
3 Replies
(@r3ndy)
Joined: 5 months ago

Active Member
Posts: 5

@asti incredible, PHP 8.2 supports on my site. There is no more error message. Thank you for your help. 😊 

Screenshot:

IMG 20250421 223657
Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8075

@r3ndy 

Please read carefully the previous post. You shoul ask the hosting support to enable just the function I've mentioned.

Reply
(@r3ndy)
Joined: 5 months ago

Active Member
Posts: 5

@asti 

Yes, I have submitted your report to my hosting team and they have fixed.

Reply
Share: