Title: Massive PHP warnings in debug
Last modified: April 4, 2021

---

# Massive PHP warnings in debug

 *  Resolved [Knut Sparhell](https://wordpress.org/support/users/knutsp/)
 * (@knutsp)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/massive-php-warnings-in-debug/)
 * > `PHP Notice: is_page was called <strong>incorrectly</strong>. Conditional query
   > tags do not work before the query is run. Before then, they always return false.
   > Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/"
   > >Debugging in WordPress</a> for more information. (This message was added in
   > version 3.1.0.) in .../wp-includes/functions.php on line 5313`
 * Trace:
 * > `wp-includes/functions.php:5313
   >  is_page() wp-content/plugins/seniornorge/wp-
   > user-manager.php:95 {closure}() wp-includes/class-wp-hook.php:292 apply_filters(‘
   > gettext’) wp-includes/l10n.php:189 translate() wp-includes/l10n.php:322 esc_html__()
   > wp-content/plugins/wp-user-manager/includes/wpum-fields/types/class-wpum-field-
   > text.php:19 WPUM_Field_Text->__construct() wp-content/plugins/wp-user-manager/
   > includes/wpum-fields/class-wpum-fields.php:77 WPUM_Fields->load() wp-content/
   > plugins/wp-user-manager/includes/wpum-fields/class-wpum-fields.php:36 WPUM_Fields-
   > >init() wp-content/plugins/wp-user-manager/includes/wpum-fields/class-wpum-
   > fields.php:22 WPUM_Fields->__construct() wp-content/plugins/wp-user-manager/
   > includes/wpum-fields/class-wpum-fields.php:84 WP_User_Manager->includes() wp-
   > content/plugins/wp-user-manager/wp-user-manager.php:171 WP_User_Manager->__construct()
   > wp-content/plugins/wp-user-manager/wp-user-manager.php:154 WP_User_Manager::
   > instance() wp-content/plugins/wp-user-manager/wp-user-manager.php:487 WPUM()
   > wp-content/plugins/wp-user-manager/wp-user-manager.php:490`
 * This is emitted about **60 times per pageload** in admin, when WP_DEBUG is in.
   Makes debugging other things a nightmare.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [WP User Manager](https://wordpress.org/support/users/wpusermanager/)
 * (@wpusermanager)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/massive-php-warnings-in-debug/#post-14296503)
 * What’s the code you have in your custom plugin at wp-content/plugins/seniornorge/
   wp-user-manager.php line 95?
 *  Thread Starter [Knut Sparhell](https://wordpress.org/support/users/knutsp/)
 * (@knutsp)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/massive-php-warnings-in-debug/#post-14308905)
 * Thanks! Fixed.
 *  Plugin Author [WP User Manager](https://wordpress.org/support/users/wpusermanager/)
 * (@wpusermanager)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/massive-php-warnings-in-debug/#post-14308940)
 * Excellent 🙌

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Massive PHP warnings in debug’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-manager/assets/icon-256x256.png?rev=3468506)
 * [WP User Manager - User Profile Builder & Membership](https://wordpress.org/plugins/wp-user-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [WP User Manager](https://wordpress.org/support/users/wpusermanager/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/massive-php-warnings-in-debug/#post-14308940)
 * Status: resolved