Title: Database updates/TP version updates
Last modified: May 5, 2020

---

# Database updates/TP version updates

 *  [David](https://wordpress.org/support/users/davidhc/)
 * (@davidhc)
 * [6 years ago](https://wordpress.org/support/topic/database-updates-tp-version-updates/)
 * Hi,
 * First of all, great plugin, it does a fantastic job (:
 * Just got a small problem with having to manually push through a database update/
   TeachPress version update itself.
 * When an update is available, the publications all go offline/invisible/error 
   messages show on the front end and only when you are on TP admin in the backend
   does it show the need/notice to update.
 * Which is easily missed by users with differing WP user access levels…
 * Unless I’m missing something here, should it be automatically updating?
 * Many thanks,
 * David

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [David](https://wordpress.org/support/users/davidhc/)
 * (@davidhc)
 * [6 years ago](https://wordpress.org/support/topic/database-updates-tp-version-updates/#post-12872777)
 * …any ideas on this one yet? 😉
 *  [ebussinetz](https://wordpress.org/support/users/ebussinetz/)
 * (@ebussinetz)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/database-updates-tp-version-updates/#post-13007818)
 * On my website, I had this problem after Update too. I had to roll back. A database
   update was not offered.
 *  [ebussinetz](https://wordpress.org/support/users/ebussinetz/)
 * (@ebussinetz)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/database-updates-tp-version-updates/#post-13009052)
 * I have solved the problem: The solution was to edit the page with Themify builder,
   then save it …
 *  [xaris1311](https://wordpress.org/support/users/xaris1311/)
 * (@xaris1311)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/database-updates-tp-version-updates/#post-13060743)
 * Hi all,
 * I have same problem, after update my publications dissapear on front and back
   end. But, on database is still here. Somebody to help this! Should upload all
   publications again ?
 *  Plugin Author [winkm89](https://wordpress.org/support/users/winkm89/)
 * (@winkm89)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/database-updates-tp-version-updates/#post-13091681)
 * Hi guys,
 * I would like to give you some information about the database updates:
    teachPress
   doesn’t run an automatic database update because I want to give administrators
   the chance to do a database backup before forcing the update. So, after each 
   plugin update teachPress displays a database update message in the backend menus
   to the administrators. If you don’t see publications etc. (before or after the
   database update), then this says that the MySQL queries runs in an error and 
   could not be executed. Unfortunately this error messages are not visible by default.
   For publications, the simplest way is to delete the comment chars of the following
   line in teachpress: [https://github.com/winkm89/teachPress/blob/master/core/database.php#L1717](https://github.com/winkm89/teachPress/blob/master/core/database.php#L1717),
   so hat you have only this code in the line:
 *     ```
       get_tp_message($sql,'red');
       ```
   
 * This makes the SQL queries visible. You can copy and execute this queries for
   example with phpmyadmin. Then you see what’s going wrong.
 * Please also note, that especially for updates to teachPress 7.0 or higher, it’s
   recommend to use MySQL 5.7 o higher. [Older versions leads to some errors](https://wordpress.org/support/topic/authors-not-populating-both-on-import-and-manual-entry/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Database updates/TP version updates’ is closed to new replies.

 * ![](https://ps.w.org/teachpress/assets/icon-256x256.png?rev=1110789)
 * [teachPress](https://wordpress.org/plugins/teachpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/teachpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/teachpress/)
 * [Active Topics](https://wordpress.org/support/plugin/teachpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/teachpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/teachpress/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [winkm89](https://wordpress.org/support/users/winkm89/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/database-updates-tp-version-updates/#post-13091681)
 * Status: not resolved