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.

 

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

2 Posts
2 Users
2 Reactions
2,216 Views
Posts: 1599
Topic starter
(@anonymous20)
Noble Member
Joined: 9 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: 10616
Admin
(@robert)
Support Team
Joined: 9 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']; }
}