• When your plugin is deactivated, it causes a fatal error. This happens because you registered the on_uninstall method with register_uninstall_hook but this method cannot be called statically:

    Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method Deprecated_Log::on_uninstall() cannot be called statically in /home/customer/www/chefpanda.pt/public_html/wp-includes/class-wp-hook.php:324

The topic ‘Deactivation causes fatal error’ is closed to new replies.