May 26, 2017 10:49 am
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
May 27, 2017 3:30 am
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']; }
}