PHP error on Plugin Uninstall
-
When I uninstall the addin, there is this error – can you please fix?
[Sat Sep 18 03:46:32.796642 2021] [php:error] [pid 30811:tid 140467039631104] PHP Fatal error: Uncaught Error: Undefined constant "WPBITLY_OPTIONS" in /opt/httpd/htdocs/wp-content/plugins/wp-bitly/uninstall.php:19\nStack trace:\n#0 /opt/httpd/htdocs/wp-content/plugins/wp-bitly/uninstall.php(31): wpbitly_uninstall()\n#1 /opt/httpd/htdocs/wp-admin/includes/plugin.php(1248): include_once('/opt/httpd/htdo...')\n#2 /opt/httpd/htdocs/wp-admin/includes/plugin.php(965): uninstall_plugin('wp-bitly/wp-bit...')\n#3 /opt/httpd/htdocs/wp-admin/includes/ajax-actions.php(4598): delete_plugins(Array)\n#4 /opt/httpd/htdocs/wp-includes/class-wp-hook.php(303): wp_ajax_delete_plugin('')\n#5 /opt/httpd/htdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)\n#6 /opt/httpd/htdocs/wp-includes/plugin.php(470): WP_Hook->do_action(Array)\n#7 /opt/httpd/htdocs/wp-admin/admin-ajax.php(187): do_action('wp_ajax_delete-...')\n#8 {main}\n thrown in /opt/httpd/htdocs/wp-content/plugins/wp-bitly/uninstall.php on line 19, referer: https://xxx.com/wp-admin/plugins.php?plugin_status=all&paged=1&s
- The topic ‘PHP error on Plugin Uninstall’ is closed to new replies.