Quantcast
Channel: Topic Tag: error | WordPress.org
Viewing all articles
Browse latest Browse all 31591

jorgeorpinel on "[Plugin: WP MediaTagger] PHP Notice about PHD_CLIENT_IP constant"

$
0
0

Plugin ver 4.0.4 (latest)

I'm getting Notice: Use of undefined constant PHD_CLIENT_IP - assumed 'PHD_CLIENT_IP' in ...wp-content\plugins\wp-mediatagger\mediatagger.php on line 2749

I can't find PHD_CLIENT_IP being defined anywhere.

I changed linke 2749 from

if ($_SERVER['REMOTE_ADDR'] == PHD_CLIENT_IP) {

to

if ($_SERVER['REMOTE_ADDR'] == 'PHD_CLIENT_IP') {

as a workaround, which functions exactly the same, but without notice.

Whatever that if() block is supposed to do, can never happen.

Cheers!

https://wordpress.org/plugins/wp-mediatagger/


Viewing all articles
Browse latest Browse all 31591

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>