Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: I can’t reply to comments, Error “1”

Discussion in 'Misc WordPress Requests' started by KrNel, Dec 4, 2017 at 2:13 PM.

  1. KrNel

    Guest

    Reply To: I can’t reply to comments, Error “1”, by KrNel

    For anyone who has the issue of not being able to comment, or post, check you WP tables for auto increment being set. You might need to reset the primary, index or unique keys in the table structures. I just spent a while going through the tables which had no more primary keys, or other keys, and no auto increment set… and had to set them all using ALTER TABLE SQL commands.

    For example:

    ALTER TABLE wp_users
    ADD PRIMARY KEY (ID), ADD KEY user_login_key (user_login), ADD KEY user_nicename (user_nicename), ADD KEY user_email (user_email);
    ALTER TABLE wp_users
    MODIFY ID bigint(20) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=6;
    COMMIT;

    After this was done to the comments and posts tables (meta tables as well), I could then post comments and posts.

    Peace.

    Reply To: I can’t reply to comments, Error “1”
     
    #1

Share This Page

Web Hosting