AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] wpForo 1.3 debug.log

2 Posts
2 Users
2 Reactions
2,494 Views
Posts: 1593
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
(@anonymous20)
Noble Member
Joined: 10 years ago
[#4510]

I have a huge ammount of those in my debug.log

 Undefined index: HTTP_REFERER in /home/wp-content/plugins/wpforo/wpf-includes/functions.php on line 233

I had that before, and i was told it is not from wpForo. Still i would like to somehow resolve this.

And a new one after 1.3. Doesn't point to wpForo, still my debug.log was clear from that before 1.3.

PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /home/wp-includes/shortcodes.php on line 152

 


1 Reply
Robert
Posts: 10736
Admin
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
(@robert)
Support Team
Joined: 2 months ago

This problem is already fixed in upcoming 1.3.1.

If you want to fix it now, just open /wpforo/wpf-includes/functions.php file

Find this line:

if( $get_referer_when_ajax && wpforo_is_ajax() ) return $_SERVER['HTTP_REFERER'];

Replace it to this:

if( $get_referer_when_ajax && wpforo_is_ajax() ){
        if( isset($_SERVER['HTTP_REFERER']) ){ return $_SERVER['HTTP_REFERER']; }
}

Share: