Cannot delete plugin
-
Hello. I tried deleting your plugin after deactivating it, and I get an error at the top of the screen that says
Deletion failed: error
. Checked my debug log and saw this:[08-Nov-2023 20:26:54 UTC] PHP Fatal error: Uncaught Error: Undefined constant "Code_Snippets\Settings\OPTION_NAME" in .../wp-content/plugins/code-snippets/php/uninstall.php:27 Stack trace: #0 .../wp-content/plugins/code-snippets/php/uninstall.php(79): Code_Snippets\Uninstall\complete_uninstall_enabled() #1 .../wp-content/plugins/code-snippets/uninstall.php(18): Code_Snippets\Uninstall\uninstall_plugin() #2 .../wp-admin/includes/plugin.php(1245): include_once('/home/voguumqsp...') #3 .../wp-admin/includes/plugin.php(960): uninstall_plugin() #4 .../wp-admin/includes/ajax-actions.php(4748): delete_plugins() #5 .../wp-includes/class-wp-hook.php(324): wp_ajax_delete_plugin() #6 .../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 .../wp-includes/plugin.php(517): WP_Hook->do_action() #8 .../wp-admin/admin-ajax.php(188): do_action() #9 {main} thrown in .../wp-content/plugins/code-snippets/php/uninstall.php on line 27
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Cannot delete plugin’ is closed to new replies.