Notice: Undefined index: SERVER_ADDR
-
Ever since I updated rating widget from v2.7.3 I’m receiving the following message at the top of my site:
“Notice: Undefined index: SERVER_ADDR in ..\wp-content\plugins\rating-widget\lib\config.common.php on line 254”
No matter which new version I update to (currently v2.7.8.4) I’m still getting this error, since I’ve found other threads in which these errors were solved only by updating the plugin.
Line 254 is the following:
if ( !defined( 'WP_RW__SERVER_ADDR' ) ) { define( 'WP_RW__SERVER_ADDR', $_SERVER['SERVER_ADDR'] ); //line 254 }
Is there something I can do in this particular line so that the error message goes away? The plugin works perfectly, however I can’t have the warning showing in my site.
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Notice: Undefined index: SERVER_ADDR’ is closed to new replies.