Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

wpForo 1.x.x [Closed] wpForo 1.3 debug.log

2 Posts
2 Users
2 Reactions
2,395 Views
Posts: 1599
Topic starter
(@anonymous20)
Noble Member
Joined: 10 years ago

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: 10606
Admin
(@robert)
Support Team
Joined: 10 years 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']; }
}