• Resolved Mevo

    (@mevo)


    There currently seem to be an issue to delete the plugin (version 1.0) from the WP dashboard. It returns a error: “Deletion failed: There has been a critical error on this website. Learn more about troubleshooting WordPress”.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Kazi Tihum

    (@kazitihum)

    Hi @mevo,

    Thank you for contacting us. We’ll definitely try to figure out the issue and solve it in the next update.

    Till then you can help us help you. Try setting WP_DEBUG to true in wp-config.php and provide us the details of the issue here.

    Hopefully, we’ll give you a quick solution.

    Regards

    Thread Starter Mevo

    (@mevo)

    Hi @kazitihum ,

    I’ve tested on 2 very different installs on two different servers, and the error was the same. So, I’m convinced you’ll get it by trying on your own wordpress install (I believe this isn’t dependent on a particular situation).

    But here is the debug log if it can help:
    [17-Nov-2021 06:13:53 UTC] PHP Notice: Trying to access array offset on value of type bool in /var/www/html/xyz/wp-content/plugins/adunlocker/uninstall.php on line 221
    [17-Nov-2021 06:13:53 UTC] PHP Fatal error: Uncaught TypeError: Return value of AdUnlocker\Uninstall::get_uninstall_mode() must be of the type string, null returned in /var/www/html/xyz/wp-content/plugins/adunlocker/uninstall.php:221

    Stack trace:
    #0 /var/www/html/xyz/wp-content/plugins/adunlocker/uninstall.php(54): AdUnlocker\Uninstall->get_uninstall_mode()
    #1 /var/www/html/xyz/wp-content/plugins/adunlocker/uninstall.php(239): AdUnlocker\Uninstall->__construct()
    #2 /var/www/html/xyz/wp-content/plugins/adunlocker/uninstall.php(250): AdUnlocker\Uninstall::get_instance()
    #3 /var/www/html/xyz/wp-admin/includes/plugin.php(1248): include_once(‘/var/www/html/..’)
    #4 /var/www/html/xyz/wp-admin/includes/plugin.php(965): uninstall_plugin()
    #5 /var/www/html/xyz/wp-admin/includes/ajax-actions.php(4598): delete_plugins()
    #6 /var/www/html/xyz/wp-includes/class-wp-hook.php(303): wp_ajax_delete_plugin()
    #7 /var/www/html/xyz/wp-includes/class- in /var/www/html/xyz/wp-content/plugins/adunlocker/uninstall.php on line 221`

    Regards

    Plugin Contributor Kazi Tihum

    (@kazitihum)

    Hi @mevo,

    Thank you for your patience and also for providing us with the details. We have fixed the bug in the latest version.

    Please update the plugin to get the fixes.

    We’ll release the documentation very soon. So always try to keep the plugin updated to get new features.

    Regards

    Thread Starter Mevo

    (@mevo)

    Hi @kazitihum

    Great.
    You’re very welcome. Thank YOU for your plugin.
    No update is showing up or even possible, it seems. I believe it may be because you didn’t update the version count. You corrected and uploaded it while keeping it as “version 1.0.0”, don’t you?

    I think you have to make a change to the version number each time. This is probably why it doesn’t propose me to update it (I see “updated one week ago” on your wordpress plugin page, though).

    A documentation will be very nice, indeed.

    Regards

    Plugin Contributor Kazi Tihum

    (@kazitihum)

    Hi @mevo,

    I missed the version number in the readme stable tag. That’s the reason it was not showing up. You should get the update now. Thanks again. 🙂

    Regards

    Thread Starter Mevo

    (@mevo)

    Now with your update of half an hour ago, everything worked perfectly! Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error when wanting to uninstall’ is closed to new replies.