Restore WordPress Plugin Crash

Job ID: 40118440

Budget: $10 – $30 USD

My Divi-based WordPress 6.9 site suddenly threw a fatal error and now shows the white screen of death. The root of the crash is a E_COMPILE_ERROR coming from WPCode Lite (insert-headers-and-footers) where a function b64() is being redeclared in an eval() line. PHP is running on version 8.4.15 and no other fixes have been attempted yet—so you’re starting with a clean slate.

What I need from you is a fast, clean recovery: get the frontend and wp-admin back online, locate the offending snippet or duplicate function, and make sure the site loads normally without disabling core functionality I rely on. If the permanent solution involves editing or removing a snippet, refactoring code, or updating/dividing plugin logic, that’s fine as long as everything remains stable after you’re done.

Key facts you’ll work with:
• WordPress 6.9, Divi 4.27.5
• Plugin at fault: WPCode Lite 2.3.2.1
• Error: “Cannot redeclare function b64()” in class-wpcode-snippet-execute.php
• No prior fixes attempted

Deliverable: the website back up, error resolved, admin dashboard accessible, and confirmation the change persists after a cache flush and one plugin/theme conflict test.

If you’ve handled similar plugin or PHP conflicts (especially with Divi or WPCode Lite), please outline your typical approach and timeline so we can move quickly.