Error removing plugin
I receive an error while trying to remove the Anspress plugin:
Fatal error: Uncaught Error: Call to undefined function ap_opt() in ../public_html/wp-content/plugins/anspress-question-answer/anspress-question-answer.php:491 Stack trace: #0 ../public_html/wp-includes/plugin.php(525): AnsPress_Init::anspress_uninstall(”) #1 ../public_html/wp-admin/includes/plugin.php(1031): do_action(‘uninstall_anspr…’) #2 /../public_html/wp-admin/includes/plugin.php(829): uninstall_plugin(‘anspress-questi…’) #3 ../public_html/wp-admin/plugins.php(346): delete_plugins(Array) #4 {main} thrown in ../public_html/wp-content/plugins/anspress-question-answer/anspress-question-answer.php on line 491
Ooops . Rahul sorry for for the duplicate.
I think it is due to the PHP version used 7+
Hello Jef,
I have recently fixed this issue and working fine in our tests. Could you please provide error from log right after trying to delete plugin.
No server errors visible for the plugin.
General error message in the interface when removing: “Removing Are you sure you want to do? Try again. failed”
Are you using 2.4.X?