BugWP logo BugWP
P Plugins T Themes C Core
Community Articles Plugins Rollback
WordPress Cache Detector Check cache headers, CDN signals and TTFB. WordPress Hosting Checker See IP, ASN, DNS, CDN and hosting hints. WordPress Redirect Checker View redirect hops, HTTPS/www policy, headers.
Submit a Bug

Bug Tracker

Plugins Themes Core
Community Articles Plugins Rollback

WordPress Tools

WordPress Cache Detector Inspect cache headers and TTFB. WordPress Hosting Checker Find IP, ASN, DNS, CDN & host. WordPress Redirect Checker See redirect hops, HTTPS/www policies.
Submit a Bug
Skip to content
BugWP

BugWP

  • Bug Tracker
    • Plugins
    • Themes
    • Core
  • Community
  • Articles
  • Plugins Rollback
  • WordPress Tools
    • WordPress Cache Detector
    • WordPress Hosting Checker
Submit a Bug
Back to Community
Home / Community / Plugin → Wps hide login

Resolving Common WPS Hide Login Plugin Conflicts and Errors

12 threads Sep 16, 2025 Plugin → Wps hide login

Content

WPS Hide Login is a popular plugin for securing WordPress admin access, but like any software, it can sometimes run into conflicts or errors. This guide covers the most common issues reported by users and provides solutions to get your site back on track.

1. Fatal Error: Cannot redeclare DNH()

The Problem: This is one of the most frequent errors. It occurs when WPS Hide Login and another plugin both use different versions of the same underlying library, WP-Dismissible-Notices-Handler. The error happens because both plugins try to declare the same DNH() function, which PHP does not allow.

The Solution: The core issue is a conflict between plugin libraries.

  • Update Everything: First, ensure both WPS Hide Login and the other conflicting plugin (often another security or utility plugin) are updated to their latest versions. The WPS Hide Login team has addressed this in past updates.
  • Identify the Conflicting Plugin: Deactivate all other plugins and reactivate them one by one. When the error reappears, you have found the conflicting plugin. You may need to choose which plugin to keep active or contact the other plugin's support for guidance.

2. Parse Error: syntax error, unexpected T_USE

The Problem: This error appears when trying to activate the plugin and is almost always related to an outdated PHP version. The code in the plugin uses modern PHP features that older versions do not understand.

The Solution: Upgrade your server's PHP version.

  • Contact your web hosting provider and ask them to upgrade your site to a supported version of PHP, such as PHP 7.4, 8.0, or 8.1. This is not only a requirement for the plugin but also a critical security and performance best practice for your entire WordPress site.

3. Dismissible Notices Handler Error: A notice with the ID has already been registered

The Problem: This warning indicates an internal conflict within the notice handling library, where it's trying to create a notice with an ID that already exists.

The Solution:

  • Update the Plugin: This specific issue was targeted for a fix in version 1.8.1 of WPS Hide Login. Ensure you are running at least that version or newer.
  • Clear Caches: If the error persists after updating, clear any caching on your site, including object caching (Redis/Memcached) and full-page caches (from plugins or your host).

4. Warning: Invalid argument supplied for foreach()

The Problem: This warning is not directly caused by WPS Hide Login but is a conflict where another plugin (like Fusion Builder in the example) expects certain data to be present that WPS Hide Login alters.

The Solution:

  • This typically requires an update from the other plugin's developers to make their code more robust. Check for updates for the plugin named in the error message.
  • If no update is available, you may need to temporarily deactivate WPS Hide Login and report the conflict to the support team for the other plugin (e.g., Fusion Builder).

General Troubleshooting Steps

For any unexplained issue with the plugin, always follow these steps first:

  1. Update: Update WPS Hide Login, your theme, and all other plugins.
  2. Conflict Test: Temporarily switch to a default WordPress theme (like Twenty Twenty-Four) and disable all other plugins. If the problem goes away, reactivate your theme and plugins one-by-one to find the conflict.
  3. Check PHP Version: Confirm your site is running a modern, supported PHP version (7.4 or higher).

By understanding these common errors and their solutions, you can quickly resolve most issues that arise with the WPS Hide Login plugin.

Related Support Threads Support

  • Class ‘WP_Review_Me’ not found
    https://wordpress.org/support/topic/class-wp_review_me-not-found/
  • Conflict with fusion-builder/inc/shortcodes.php
    https://wordpress.org/support/topic/conflict-with-fusion-builderincshortcodes-php/
  • Fatal error
    https://wordpress.org/support/topic/fatal-error-3787/
  • Fatal Error when activating the plugin
    https://wordpress.org/support/topic/fatal-error-when-activating-the-plugin-8/
  • wp_loaded not called any more
    https://wordpress.org/support/topic/wp_loaded-not-called-any-more/
  • WPO
    https://wordpress.org/support/topic/wpo-6/
  • dnh_dismissed_notices
    https://wordpress.org/support/topic/dnh_dismissed_notices/
  • Dismissible Notices Handler Error
    https://wordpress.org/support/topic/dismissible-notices-handler-error-2/
  • Fatal error: Cannot redeclare DNH function
    https://wordpress.org/support/topic/fatal-error-cannot-redeclare-dnh-function-2/
  • library incompatibility
    https://wordpress.org/support/topic/library-incompatibility/
  • Dismissible Notices Handler Error
    https://wordpress.org/support/topic/dismissible-notices-handler-error/
  • Dead?
    https://wordpress.org/support/topic/dead-35/

Details

Category
Plugin → Wps hide login
Post Type
N/A
Thread Count
12
Updated
Sep 16, 2025

Activity

Active Discussion
12 support threads
Last Updated
3 months ago
← Why Google Won't…
How to Remove… →
BugWP.com
BugWP

The most comprehensive WordPress issue tracking platform. Automatically monitoring and analyzing solutions from across the WordPress ecosystem.

5,586 Issues Tracked
9,233 Solutions
232,033 Threads Analyzed
0 This Week
Live monitoring active 24/7

Latest Issues

Performance Degradation from wc_var_prices Transient Calculation for Variable… 2 months ago • open Social Icons Block Appears Too Large in Preview 2 months ago • open Jetpack Contact Form Export Ignores Date Filter 2 months ago • open Checkout Address Fields Lack Shipping/Billing Grouping Identifiers, Breaking… 2 months ago • open

Top Solutions

Troubleshooting Common NextGEN Gallery Conflicts and Errors 💬 124 3 months ago Why Broken Link Checker Reports False Errors (And… 💬 101 3 months ago Resolving ‘Error: Error’ in Elementor Theme Builder with… 💬 96 3 months ago Why Your GTranslate Plugin Isn’t Working (And How… 💬 95 3 months ago

Explore

  • Bug Tracker
  • Community Hub
  • Blog & Guides
  • About Us
  • Privacy Policy
  • Terms & Conditions

Categories

Plugin Theme Core Woocommerce
© 2025 BugWP. Tracking 9,233 WordPress solution across themes, plugins and core.