• pace

    (@bbrun)


    I’ve not been able to create new categories or menu suddenly and whenever I tried to do that returned a message “Could not insert term into the database.”

    Google search one thread suggested DB optimization plugin but did not work. Another one (https://www.reddit.com/r/Wordpress/comments/5iroaa/could_not_insert_term_into_the_database/) advised 3 things to do:

    1) go to phpmyadmin then in Structure make sure AI is checked. Mine was not checked so i checked it, then tried to create a new category but now returned a message, “some error occurred. Please reload the page.” I reloaded and the same message came back.

    2) “stop playing in PhpMyAdmin and remove it from your server.” I have no idea what this is about.

    3) in Operations, set the number for auto-increment to be higher than your highest term_id. After I set the number and click on Save, an error message showed up at the bottom,

    “Notice in .\tbl_operations.php#155 Undefined index: row_format

    Backtrace”

    My site is still localhosted on my notebook. I reinstalled WP from scratch then imported the database and files but that did not help, either.

    Hope all this makes some sense to someone here so can shed some light on my problem. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • abletec

    (@abletec)

    Hello, pace, & welcome. Where did you reimport the database from?

    Thread Starter pace

    (@bbrun)

    Before I removed Bitnami WordPress application from my laptop, I saved the wp-content and database from phpmyadmin on a flash drive. After I reinstalled WP back on, I then replaced the wp-content with the wp-content on my flash drive and imported the database file on my flash drive by uploading via phpmyadmin.

    I’ve done this many times before and this is the first time this problem occurred.

    I’m wondering what’s the cause of the problem?

    Thank you for replying.

    Pace

    abletec

    (@abletec)

    Pace, did you make any folder changes, etc, when you reinstalled?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“Could not insert term into the database” when trying to add category’ is closed to new replies.