PHP Fatal error when trying to deactivate plugin
-
Running the latest version of the plugin (45.1) I get a fatal error when trying to deactivate plugin.
This is the error when looking at the logs on my site
PHP Fatal error: Uncaught Error: Call to undefined method DH_Anti_AdBlocker_Deactivator::deleteDir() in wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-deactivator.php:47 Stack trace: #0 wp-content/plugins/dh-anti-adblocker/dh-anti-adblocker.php(74): DH_Anti_AdBlocker_Deactivator::deactivate() #1 wp-includes/class-wp-hook.php(308): deactivate_DH_Anti_AdBlocker(false) #2 wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #3 wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 wp-admin/includes/plugin.php(814): do_action('deactivate_dh-a...', false) #5 wp-admin/plugins.php(209): deactivate_plugins('dh-anti-adblock...', false, false) #6 {main} thrown in wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-deactivator.php on line 47
Looks like the “deleteDir” function doesnt exist
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Fatal error when trying to deactivate plugin’ is closed to new replies.