The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
PHP 8.2 Compatibili...
 
Notifications
Clear all

Bug [Solved] PHP 8.2 Compatibility Issue

5 Posts
2 Users
2 Reactions
745 Views
Posts: 5
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@r3ndy)
Active Member
Joined: 10 months ago
[#10521]

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: 8211
 Asti
Support
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@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: 10 months ago

Active Member
Posts: 5
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 8211
Asti
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@r3ndy 

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


Reply
(@r3ndy)
Joined: 10 months ago

Active Member
Posts: 5
Asti
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@asti 

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


Reply
Share: