Unable to uninstall
-
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()
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Unable to uninstall’ is closed to new replies.