Support » Plugin: Permalinks Customizer » Unable to uninstall

  • Resolved x!sign.dll

    (@xsigndll)


    Right now it’s not possible to uninstall the plugin. You need to modify the uninstall.php file:

    Corrupt:

    // Delete all terms with latest version style
    $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->termmeta WHERE meta_key = 'permalink_customizer'" ) );
    
    // Drop Redirects Table if Exist
    $wpdb->query( $wpdb->prepare( "DROP TABLE IF EXISTS {$wpdb->prefix}permalinks_customizer_redirects" ) );

    Working:

    // Delete all terms with latest version style
    $wpdb->query( "DELETE FROM $wpdb->termmeta WHERE meta_key = 'permalink_customizer'" );
    
    // Drop Redirects Table if Exist
    $wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}permalinks_customizer_redirects" );

    Error:
    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpdb::prepare()

    [ Signature deleted ]

    • This topic was modified 8 months, 2 weeks ago by  Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    @xsigndll Welcome to the Support Forum of Permalinks Customizer Plugin..!

    Thank you so much for providing the solution of uninstall.php I will fixed it soon in the Plugin.

    Also, i like to know why you are uninstalling the plugin? Can you provide you feedback if possible.

    If you are seeking for some feature which is not available in the Plugin at this moment so, please let me know that..

    Regards,
    Sami

    Hi Sami,

    I had some issues with it a couple of days ago, but I don‘t rememeber the kind of it. Sorry.

    [ Signature deleted ]

    • This reply was modified 8 months, 2 weeks ago by  x!sign.dll.
    • This reply was modified 8 months, 2 weeks ago by  Jan Dembowski.
    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    @xsigndll No issues. Thanks for the update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to uninstall’ is closed to new replies.