Title: SQL errors in some cases
Last modified: August 31, 2016

---

# SQL errors in some cases

 *  Resolved [dav4](https://wordpress.org/support/users/dav4/)
 * (@dav4)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/sql-errors-in-some-cases/)
 * Hi,
 * When other plugin/script use switch_to_blog() function and edit/create posts 
   on other sites, BLC also is launched (probably with post_edit action), but when
   BLC is not enabled on all sites, this causes an SQL error:
 * `*86436 FastCGI sent in stderr: "sage: WordPress database error Table 'db1.wp_92_blc_synch'
   doesn't exist for query INSERT INTO wp_92_blc_synch( container_id, container_type,
   synched, last_synch)...` and HTTP error 500.
 * Plugin should check for table exists before start
 * Regards
 * [https://wordpress.org/plugins/broken-link-checker/](https://wordpress.org/plugins/broken-link-checker/)

The topic ‘SQL errors in some cases’ is closed to new replies.

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

## Tags

 * [error 500](https://wordpress.org/support/topic-tag/error-500/)
 * [table](https://wordpress.org/support/topic-tag/table/)

 * 0 replies
 * 1 participant
 * Last reply from: [dav4](https://wordpress.org/support/users/dav4/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/sql-errors-in-some-cases/)
 * Status: resolved