Reset not completing
-
I finally got some time today to research and solve this issue. Prior to today, I had been manually working around the issue.
The Issue
When I click on the Reset button, it never completes. I added some code to log to the debug.log and I found that the third $wpdb->query DROP TABLE IF EXISTS call never returned. See Stack Overflow question for detailed documentation on this issue.The Solution
After some research and experimentation, I found that dropping all three tables in one statement solved the issue so I replaced the wpmc_uninstall() function in core.php with the following:function wpmc_uninstall () { global $wpdb; $table_name1 = $wpdb->prefix . "mclean_scan"; $table_name2 = $wpdb->prefix . "mclean_refs"; $table_name3 = $wpdb->prefix . "wpmcleaner"; $SQL = "DROP TABLE IF EXISTS $table_name1, $table_name2, $table_name3;"; $wpdb->query($SQL); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Reset not completing’ is closed to new replies.