• Resolved nwjeff

    (@nwjeff)


    When I updated AIB to 8.12.2, the following occurred, as recorded in debug log:

    [21-Aug-2026 04:16:14 UTC] PHP Warning: require_once(/home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-content/plugins/advanced-ip-blocker/includes/class-advaipbl-ajax-handler.php): Failed to open stream: No such file or directory in /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-content/plugins/advanced-ip-blocker/includes/class-advaipbl-main.php on line 96
    [21-Aug-2026 04:16:14 UTC] PHP Stack trace:
    [21-Aug-2026 04:16:14 UTC] PHP 1. {main}() /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-cron.php:0
    [21-Aug-2026 04:16:14 UTC] PHP 2. require_once() /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-cron.php:46
    [21-Aug-2026 04:16:14 UTC] PHP 3. require_once() /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-load.php:50
    [21-Aug-2026 04:16:14 UTC] PHP 4. require_once() /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-config.php:98
    [21-Aug-2026 04:16:14 UTC] PHP 5. do_action($hook_name = ‘after_setup_theme’) /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-settings.php:749
    [21-Aug-2026 04:16:14 UTC] PHP 6. WP_Hook->do_action($args = [0 => ”]) /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-includes/plugin.php:522
    [21-Aug-2026 04:16:14 UTC] PHP 7. WP_Hook->apply_filters($value = ”, $args = [0 => ”]) /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-includes/class-wp-hook.php:365
    [21-Aug-2026 04:16:14 UTC] PHP 8. advaipbl_initialize(”) /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-includes/class-wp-hook.php:341
    [21-Aug-2026 04:16:14 UTC] PHP 9. ADVAIPBL_Main::get_instance() /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-content/plugins/advanced-ip-blocker/advanced-ip-blocker.php:89
    [21-Aug-2026 04:16:14 UTC] PHP 10. ADVAIPBL_Main->__construct() /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-content/plugins/advanced-ip-blocker/includes/class-advaipbl-main.php:86
    [21-Aug-2026 04:16:14 UTC] PHP Fatal error: Uncaught Error: Failed opening required ‘/home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-content/plugins/advanced-ip-blocker/includes/class-advaipbl-ajax-handler.php’ (include_path=’.:/opt/remi/php83/root/usr/share/pear:/opt/remi/php83/root/usr/share/php:/usr/share/pear:/usr/share/php’) in /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-content/plugins/advanced-ip-blocker/includes/class-advaipbl-main.php:96
    Stack trace: 0 /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-content/plugins/advanced-ip-blocker/includes/class-advaipbl-main.php(86): ADVAIPBL_Main->__construct() 1 /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-content/plugins/advanced-ip-blocker/advanced-ip-blocker.php(89): ADVAIPBL_Main::get_instance() 2 /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-includes/class-wp-hook.php(341): advaipbl_initialize() 3 /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() 4 /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() 5 /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-settings.php(749): do_action() 6 /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-config.php(98): require_once(‘…’) 7 /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-load.php(50): require_once(‘…’) 8 /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-cron.php(46): require_once(‘…’) 9 {main}

    thrown in /home/1/m/mu/mustangs/mustangsnorthwest.com/public_html/wp-content/plugins/advanced-ip-blocker/includes/class-advaipbl-main.php on line 96
    [21-Aug-2026 13:34:11 UTC] Automatic updates starting…
    [21-Aug-2026 13:34:12 UTC] Automatic updates complete.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author IniLerm

    (@inilerm)

    Hi @nwjeff,

    Thank you for reporting this issue and sharing the error logs!

    You are completely right. Looking at the logs, it appears that during the automatic update process (Automatic updates starting…), your server timed out or failed to extract/copy all the files from the new version package, leaving your installation with missing files (in this case, class-advaipbl-ajax-handler.php).

    To fix this immediately on your site, please completely delete the Advanced IP Blocker folder via FTP or your hosting File Manager and upload a fresh copy of version 8.12.2. All your settings and blocked IPs are safely stored in the database, so you won’t lose any data.

    Good news: Based on your report, we have completely refactored the plugin’s file loader for the upcoming version. If a file goes missing during an update in the future, the plugin will now gracefully disable itself and show an admin notice rather than throwing a Fatal Error and taking the site down.

    Let me know if a manual reinstallation gets you back up and running!

    Plugin Author IniLerm

    (@inilerm)

    💡 Tip for users experiencing missing files after a failed auto-update:

    If your server times out or fails to extract all files during a WordPress plugin update, you might be left with an incomplete installation. Here are three ways to quickly fix this and restore your site:

    1. Reinstall via WordPress Admin (Easiest) If you still have access to your WordPress dashboard, go to Plugins -> Add New Plugin, search for Advanced IP Blocker, and click Install Now again to force a fresh download.

    2. Reinstall via ZIP Upload If the first method doesn’t work, you can manually overwrite the broken files:

    • Download the latest version of the plugin as a .zip file from the official repository here.
    • Go to your WordPress dashboard: Plugins -> Add New Plugin -> Upload Plugin.
    • Upload the .zip file. WordPress will detect the existing folder and ask if you want to replace it. Click Replace current with uploaded.

    3. Upload the Missing File Manually (Advanced Users) If your site is completely locked out (Fatal Error / White Screen of Death) and you can’t access wp-admin, you can use FTP/SFTP or your Hosting’s File Manager:

    • You can find the raw source code for any specific version (e.g., 8.12.2) in the SVN repository: https://plugins.svn.wordpress.org/advanced-ip-blocker/tags/8.12.2/includes/
    • Download the specific file mentioned in your error log (for example, class-advaipbl-ajax-handler.php).
    • Upload it directly to the corresponding folder on your server: /wp-content/plugins/advanced-ip-blocker/includes/.

    (Note: Starting from our next release, we have completely redesigned our file loader. If a file is missing in the future due to a server glitch, the plugin will gracefully deactivate itself instead of causing a Fatal Error, keeping your site online).

    Thread Starter nwjeff

    (@nwjeff)

    Thank you very much for your quick response and action!

    The website was updated as you recommended and is operating normally.

    NB: The website does not have automatic updates turned on for the plugin. The debug log entry is due to the cron job that does periodically check for plugins that have the automatic update turned on. The error happened when the AIB plugin was manually updated to the 8.12.2 version.

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

You must be logged in to reply to this topic.