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

Bug [Solved] PHP 8.2 Compatibility Issue

5 Posts
2 Users
2 Reactions
129 Views
Posts: 3
Topic starter
(@r3ndy)
Active Member
Joined: 2 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: 7954
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 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: 2 months ago

Active Member
Posts: 3

@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: 7 years ago

Illustrious Member
Posts: 7954

@r3ndy 

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

Reply
(@r3ndy)
Joined: 2 months ago

Active Member
Posts: 3

@asti 

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

Reply
Share: