Title: Undefined global variable $pagenow
Last modified: December 17, 2023

---

# Undefined global variable $pagenow

 *  [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * (@thefallguy)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/undefined-global-variable-pagenow/)
 * My PHP log is filling up with these messages:
 * [17-Dec-2023 09:00:54 UTC] PHP Warning:  Undefined global variable $pagenow in/
   var/www/html/wp-content/plugins/iq-block-country/libs/blockcountry-checks.php
   on line 580

The topic ‘Undefined global variable $pagenow’ is closed to new replies.

 * ![](https://ps.w.org/iq-block-country/assets/icon-128x128.png?rev=3136019)
 * [iQ Block Country](https://wordpress.org/plugins/iq-block-country/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/iq-block-country/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/iq-block-country/)
 * [Active Topics](https://wordpress.org/support/plugin/iq-block-country/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/iq-block-country/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/iq-block-country/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [thefallguy](https://wordpress.org/support/users/thefallguy/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/undefined-global-variable-pagenow/)
 * Status: not resolved