NetBound

Web tools

NB Crash Block

nb-crash-block banner

NB Crash Block v5.5.0

NB Crash Block: Prevents functions.php crashes and provides full admin access when WordPress breaks

Requirement: NetBound Hub must be active.

Why this plugin

  • Seamless Integration: Designed specifically for the NetBound Ecosystem.
  • Performance Focused: Lightweight with minimal overhead.
  • Modern UI: Clean, consistent administrative interfaces.
  • AI-Era Safety: Purpose-built protections against AI-generated code errors.
  • Database Resilience: Active thread and table metadata lock monitoring to prevent MySQL connection exhaustion crashes.

Key features

  • Automated updates via NetBound Hub.
  • Database Lock Sentinel: Live MySQL processlist inspector and one-click query killer to clear table metadata locks and hung queries.
  • NB Checkup: 10-point health scanner for functions.php — detects code after closing tags, duplicate functions, unmatched braces, dangerous functions, and more.
  • Versioned Backups: Rolling 5-version backup timeline with change attribution logging.
  • AI Output Quarantine: Public API for NB plugins to validate code before writing to functions.php.
  • PHP Syntax Pre-flight: Runs php -l validation before any save, catching parse errors before they crash the site.
  • AI Code Fingerprinting: Detects placeholder function names, TODO comments, and AI-generated markers.
  • Standalone emergency recovery panel that works without WordPress.

Quick start

  1. Activate the plugin alongside NetBound Hub.
  2. Navigate to the NetB Hub dashboard to view its status.
  3. Click Run Checkup to scan your site health.
  4. Use Backup Now to create a versioned snapshot.

Changelog

v5.5.0 — Database Lock Sentinel & WP-Config Fixes

  • NEW: Database Lock Sentinel — live MySQL processlist monitor to catch table metadata locks and hung queries with one-click termination.
  • NEW: Standalone Recovery Panel Database Manager — inspect and kill stuck MySQL threads directly from the emergency panel without WP or phpMyAdmin.
  • NEW: Direct Theme Editor Links — 1-click jump links to WordPress Theme Editor (functions.php) from error banners and recent logs.
  • FIX: Fixed wp-config editor 1/4-width bug by adding class exemption from Hub resets and full width flex layout.
  • NEW: Fail-Safe Status Badges — visual status badges and explanations for WP_DISABLE_FATAL_ERROR_HANDLER and WP_DEBUG_LOG.

v5.4.5 — QoL and Emergency Enhancements

  • NEW: Multiple Alert Emails — supports comma-separated email addresses for crash notifications.
  • NEW: Domain-First Titles — emergency recovery panel displays domain name first in tabs for bookmarking ease.
  • NEW: Layout Relocation — shifted critical config editor to Column 1.
  • NEW: Old recovery panels automatically deleted on page generation.

v5.4.4 — Emergency Activations

  • NEW: Re-enable disabled plugins directly from the standalone emergency recovery panel.

v5.4.3 — Recovery Beacon

  • NEW: Recovery Beacon (recover.php) — auto-deployed to webroot on activation. Visit yoursite.com/recover.php when locked out and it silently emails you the current emergency panel URL. Displays only "OK". Rate-limited to 1 email/hour.
  • NEW: Old emergency panel files are now deleted when a new panel is generated.
  • NEW: Beacon auto-refreshes when the emergency panel is regenerated.

v5.4.2 — Critical Hotfix

  • CRITICAL FIX: PHP closing tag (?>) inside code comments was parsed by PHP as a real closing tag, causing a fatal syntax error on activation.

v5.4.1 — UX Improvements

  • FIX: Test Crash button now has an enable checkbox — no longer hidden behind version check.
  • NEW: Delete Disabled Copies — scan and purge .DISABLED plugin folders.
  • NEW: Copy functions.php to clipboard from the backup section.

v5.4.0 — NB Checkup: Health Scanner, Versioned Backups, AI Safety

  • NEW: NB Checkup — comprehensive health scanner with 10-point functions.php analysis.
  • NEW: Versioned Backup Timeline — keeps 5 rolling backups with timestamps.
  • NEW: Change Attribution Log — tracks who/what modified functions.php.
  • NEW: AI Output Quarantine API — validates code before committing to functions.php.
  • NEW: PHP Syntax Pre-flight — runs php -l before saves.
  • NEW: AI Code Fingerprinting — detects common AI-generated code patterns.
  • FIX: Backup now works for parent theme functions.php when no child theme is active.

v5.3.9

  • FIX: Split WP_DEBUG_LOG definition string to prevent scanner false positives.

FAQ

How do I update this plugin?

Updates are managed automatically through the NetBound Hub dashboard.


© 2026 NetBound