Error removing plugin

6.78K viewsIssues
0

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

Are you using 2.4.X?

I think it is due to the PHP version used 7+

0

This is still a problem.

Any updates?

commented on answer

Hello Jef,
Get latest commit and then navigate to AnsPress->Options & Addons -> tools. There you will find what you need.

Still it is unclear what those 4 options exactly do and in what order they must be used.

With the latest commit it worked to uninstall the plugin the clean way.
Hope it uses an uninstall hook to cleanup all the tables.

Thank you for the support!
(Still using Anspress on other projects btw 🙂 )

You are viewing 1 out of 4 answers, click here to view all answers.