PHP Notices with WP_DEBUG
-
With WP_DEBUG defined, numerous PHP notices occur:
“PHP Notice: Undefined index: HTTP_REFERER in /<path>/wordpress/wp-content/plugins/relevanssi/lib/excerpts-highlights.php on line 225”
Should check isset() first, since HTTP_REFERER is set by the useragent and is thus not necessarily reliable.
Thanks 🙂
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Notices with WP_DEBUG’ is closed to new replies.