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 → Limit login attempts

Troubleshooting Common Limit Login Attempts Plugin Issues: PHP Errors, Conflicts, and More

25 threads Sep 7, 2025 Plugin → Limit login attempts

Content

The 'Limit Login Attempts' plugin is a popular tool for securing WordPress login pages, but like any software, it can sometimes run into issues. Based on community reports, here are some of the most common problems and their potential solutions.

1. PHP Errors and Deprecation Notices

Users on newer versions of PHP (e.g., 8.2.x) often report deprecation warnings, while others encounter various PHP warnings that can fill error logs and affect performance.

Common Errors:

  • PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated...
  • PHP Warning: Illegal offset type in isset or empty...
  • PHP Warning: Cannot modify header information - headers already sent...
  • Notices about deprecated functions like get_userdatabylogin.

Why it happens: The plugin code may not be fully compatible with the latest PHP versions, which have stricter standards and deprecate older functions.

Potential Solutions:

  • Check for an Updated Fork: The original 'Limit Login Attempts' plugin has not been updated for several years. A popular, maintained fork called Limit Login Attempts Reloaded exists, which has resolved many of these PHP compatibility issues.
  • Temporarily Disable Debugging: If the errors are only notices and not breaking your site, you can disable their display by setting WP_DEBUG_DISPLAY to false in your wp-config.php file. However, this does not fix the underlying problem.

2. Plugin Conflicts Causing Login Issues

Conflicts with other plugins are a frequent source of problems, often manifesting as missing messages, blank error boxes, or functionality that suddenly stops working.

Common Symptoms:

  • The login error div (<div id="login_error"></div>) appears but is always empty.
  • No lockout or attempt messages appear on the login page.
  • Warnings about missing function arguments (e.g., Warning: Missing argument 2 for limit_login_track_credentials()).
  • Social login plugins or security plugins like WebsiteDefender break the login process.

Why it happens: Other plugins, especially those that also modify the login process (e.g., security plugins, social logins, maintenance mode plugins), can interfere with how 'Limit Login Attempts' hooks into WordPress and displays messages.

Potential Solutions:

  • Conflict Test: Deactivate all other plugins and switch to a default WordPress theme (like Twenty Twenty-One). If the problem resolves, reactivate your plugins one by one to identify the culprit.
  • Check Plugin Settings: Some security plugins have options to hide login error messages. You may need to adjust these settings to allow 'Limit Login Attempts' messages to show.
  • Whitelist Check: If the plugin seems to have "stopped working," verify that your IP address hasn't been accidentally whitelisted by a companion plugin, preventing you from seeing its security features in action.

3. Fatal Error: Cannot Redeclare Function

This critical error completely breaks a site, preventing access to both the front end and the admin dashboard.

Symptom: Fatal error: Cannot redeclare limit_login_setup()...

Why it happens: This occurs when the plugin is loaded twice. The most common scenario is having the plugin installed both as a regular plugin (/wp-content/plugins/) and as a must-use plugin (/wp-content/mu-plugins/), sometimes automatically by a managed hosting provider.

Potential Solution:

  • Use FTP or your hosting provider's file manager to access your site's files.
  • Navigate to /wp-content/plugins/ and delete the limit-login-attempts folder. If your host manages a must-use version, this should be sufficient to resolve the conflict and restore site access.

4. Security Concerns and Outdated Software

Many users express concern that using an outdated plugin poses a security risk.

Potential Solutions:

  • Verify Vulnerability Reports: Carefully check any vulnerability reports to ensure they apply to this specific plugin and not another with a similar name (e.g., "WP Limit Login Attempts"). Community members often note that many reported issues were patched in the last official version (1.7.2).
  • Consider an Alternative: For peace of mind, consider switching to a actively maintained alternative like the previously mentioned Limit Login Attempts Reloaded or another reputable login security plugin.

When troubleshooting, always remember to clear your browser cookies and cache, as the plugin relies heavily on cookies to track login attempts. If you are unsure about any steps, particularly editing files, it is advisable to create a full backup of your site first.

Related Support Threads Support

  • [Plugin: Limit Login Attempts] Minor compatibility issues with WebsiteDefender
    https://wordpress.org/support/topic/plugin-limit-login-attempts-minor-compatibility-issues-with-websitedefender/
  • Limit Login Attempts version 1.7.1 is not working with WordPress 3.4.1.
    https://wordpress.org/support/topic/limit-login-attempts-version-171-is-not-working-with-wordpress-341/
  • login_error div content not showing
    https://wordpress.org/support/topic/login_error-div-content-not-showing/
  • using deprecated function
    https://wordpress.org/support/topic/using-deprecated-function/
  • PHP 8.2.x Deprecate alert.
    https://wordpress.org/support/topic/php-8-2-x-deprecate-alert/
  • Limit Login Attempts generating PHP errors
    https://wordpress.org/support/topic/limit-login-attempts-generating-php-errors/
  • security issue
    https://wordpress.org/support/topic/security-issue-146/
  • ERROR: The inserted fields are invalid.
    https://wordpress.org/support/topic/error-the-inserted-fields-are-invalid/
  • Suddenly stopped work?
    https://wordpress.org/support/topic/suddenly-stopped-work/
  • Plugin – Not working?
    https://wordpress.org/support/topic/plugin-not-working-106/
  • "Fatal error: Cannot redeclare limit_login_setup()"
    https://wordpress.org/support/topic/fatal-error-cannot-redeclare-limit_login_setup/
  • Conflicts with WordPress Password Expiry
    https://wordpress.org/support/topic/conflicts-with-wordpress-password-expiry/
  • Security
    https://wordpress.org/support/topic/security-47/
  • Installed OK but no prompt at login
    https://wordpress.org/support/topic/installed-ok-but-no-prompt-at-login/
  • Plugin Vulnerability
    https://wordpress.org/support/topic/plugin-vulnerability-1/
  • [Plugin: Limit Login Attempts] Empty login error div shown at all times
    https://wordpress.org/support/topic/plugin-limit-login-attempts-empty-login-error-div-shown-at-all-times/
  • Warning: Missing argument 2
    https://wordpress.org/support/topic/warning-missing-argument-2-5/
  • Doesn't work with Social Login plugin anymore, please help
    https://wordpress.org/support/topic/doesnt-work-with-social-login-plugin-anymore-please-help/
  • Sowing captcha without code
    https://wordpress.org/support/topic/sowing-captcha-without-code/
  • Plugin May Need Updating For Latest WP Release
    https://wordpress.org/support/topic/plugin-may-need-upfdating-for-latest-wp-release/
  • Security Warning
    https://wordpress.org/support/topic/security-warning-10/
  • throws an error
    https://wordpress.org/support/topic/throws-an-error/
  • Plugin hacked
    https://wordpress.org/support/topic/plugin-hacked-1/
  • Cannot modify header information
    https://wordpress.org/support/topic/cannot-modify-header-information-208/
  • Plugin slows down the WP installation
    https://wordpress.org/support/topic/plugin-slows-down-the-wp-installation-2/

Details

Category
Plugin → Limit login attempts
Post Type
N/A
Thread Count
25
Updated
Sep 7, 2025

Activity

Active Discussion
25 support threads
Last Updated
3 months ago
← Troubleshooting Common Menu…
Troubleshooting Common WebP… →
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.