• Resolved emilycestmoi

    (@emilycestmoi)


    Just a heads up. I just upgraded to 8.1.5 and the upgrade.php failed to drop the two indexes:

    $wpdb->query("ALTER TABLE " . $wpdb->prefix . "newsletter_user_meta DROP INDEX user_id_key");
    $wpdb->query("ALTER TABLE " . $wpdb->prefix . "newsletter_user_meta  DROP COLUMN key");

    The indexes did not exist for me in my database. Once I commented those lines out the upgrade.php ran successfully. I’ve been using Newsletter for a few years now so I’m not sure what happened. In any case it may just be me, but I wanted to post incase someone else had their site crash after the upgrade as well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter emilycestmoi

    (@emilycestmoi)

    N/m I have extra DB error logging on which I believe overrode the wordpress error suppression. I believe all is fine if there are no other reports.

    Plugin Author Stefano Lissa

    (@satollo)

    Hi, yes, the problem is the configuration of the MySQL library to throw exceptions. WordPress disables this behavior since its own code is not written to manage exceptions. Sorry for this problem, anyway using your report I tracked to our code where there is the drop that should not be run.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Upgrade to 8.1.5 crashed site upgrade.php failed’ is closed to new replies.