• The error message on dashboard was:

    Deletion failed: <? if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) exit(); global $wpdb; $wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}hypeanimations" ); delete_option( 'hypeanimations_db_version' ); function hyperrmdir($dir) { if (is_dir($dir)) { $objects = scandir($dir); foreach ($objects as $object) { if ($object != "." && $object != "..") { if (filetype($dir."/".$object) == "dir") hyperrmdir($dir."/".$object); else unlink($dir."/".$object); } } reset($objects); rmdir($dir); } } $upload_dir = wp_upload_dir(); $anims_dir=$upload_dir['basedir'].'/hypeanimations/'; hyperrmdir($anims_dir); ?>{"success":true,"data":{"delete":"plugin","slug":"tumult-hype-animations","plugin":"tumult-hype-animations\/hypeanimations.php","pluginName":"Tumult Hype Animations"}}

    I should manually delete table, options and upload directory.

    • This topic was modified 6 years, 5 months ago by tokkonopapa.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tumultinc

    (@tumultinc)

    Did you install this from the GitHub repository or from www.ads-software.com? (I recommend installing from www.ads-software.com)

    Thread Starter tokkonopapa

    (@tokkonopapa)

    I found a short open tag <? instead of <?php at the top of “uninstall.php”. Not every server can use it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t delete the plugin’ is closed to new replies.