Title: Problem with transfering
Last modified: August 27, 2017

---

# Problem with transfering

 *  Resolved [pavel21](https://wordpress.org/support/users/pavel21/)
 * (@pavel21)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/)
 * I`ve done the site with gwolle guest book in my local host. When I transfered
   the site on hosting there appeared such problem:
    [You have an error in your 
   SQL syntax; check the manual that corresponds to your MySQL server version for
   the right syntax to use near ‘update-plugins count-0′><span class=’theme-count’
   >0</span></span>” at line 1] SELECT slug FROM wp_terms WHERE name = ‘Гостевая
   книга<span class=’update-plugins count-0′><span class=’theme-count’>0</span></
   span>’. This problem broke the site. How can I fix it?
    -  This topic was modified 8 years, 9 months ago by [pavel21](https://wordpress.org/support/users/pavel21/).
    -  This topic was modified 8 years, 9 months ago by [pavel21](https://wordpress.org/support/users/pavel21/).
    -  This topic was modified 8 years, 9 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

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

 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9446904)
 * That is quite a strange SQL error, and should not happen.
    I suspect there happened
   some file corruption during upload. If you upload again, is it right? Alternatively,
   there is just a new update. If you update, does it work right?
 *  Thread Starter [pavel21](https://wordpress.org/support/users/pavel21/)
 * (@pavel21)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9447532)
 * I rolled back plugin version, update it, reinstall WP version but problem doesn`
   t resolved.
    Problem has been resolved when I changed single quote to double 
   quotes. I change sintax in file gwolle-gb-hooks.php in str 39 and 50: `"<span
   class='update-plugins count-" . $count_unchecked . "'><span class='theme-count'
   >" . $count_unchecked . "</span></span>"` to `"<span class=\"update-plugins count-".
   $count_unchecked . "\"><span class=\"theme-count\">" . $count_unchecked . "</
   span></span>"`
 *  Thread Starter [pavel21](https://wordpress.org/support/users/pavel21/)
 * (@pavel21)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9447548)
 * By the way, on local host php version 5.5.37 , MySQL – 5.5.50-log . On the hosting:
   php – 5.6.30 , Mysql – 5.5.52-38.3 . May be it’s important
 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9450022)
 * I assume you are using a plugin that makes a SQL query based on some admin menu-
   counters.
 * I did spot a bug and fixed that bug in 2.3.1.
    Does that help in your case?
 *  Thread Starter [pavel21](https://wordpress.org/support/users/pavel21/)
 * (@pavel21)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9450395)
 * I’ve trided to use site when only Gwolle is on and the other plugins are off.
   But problem still remained.
    I’ve updated Gwolle but nothing is changed.
    -  This reply was modified 8 years, 9 months ago by [pavel21](https://wordpress.org/support/users/pavel21/).
 *  Thread Starter [pavel21](https://wordpress.org/support/users/pavel21/)
 * (@pavel21)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9450407)
 * I’ve changed quote in the same file in the same places from
    `"<span class='awaiting-
   mod count-" . $count_unchecked . "'>` to `"<span class=\"awaiting-mod count-".
   $count_unchecked . "\">` And problem has resolved
    -  This reply was modified 8 years, 9 months ago by [pavel21](https://wordpress.org/support/users/pavel21/).
    -  This reply was modified 8 years, 9 months ago by [pavel21](https://wordpress.org/support/users/pavel21/).
 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9453709)
 * I am really confused about this. I still assume there is something happening 
   in the local configuration where something goes wrong.
 * Anyway, I made some changes in trunk. Would you want to try them out? You can
   download it on the Development tab.
 *  Thread Starter [pavel21](https://wordpress.org/support/users/pavel21/)
 * (@pavel21)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9462767)
 * Ok. I’ll try. Thank You for feedback!
 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9463002)
 * Ah, let me phrase a question (I didn’t before 🙂 )
    Can you confirm if it works
   for you now without errors?
 *  Thread Starter [pavel21](https://wordpress.org/support/users/pavel21/)
 * (@pavel21)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9471336)
 * Ok. When the problem will be resolved I give You to know 😉
 *  Thread Starter [pavel21](https://wordpress.org/support/users/pavel21/)
 * (@pavel21)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9474744)
 * In vers 2.3.2 the problem has resolved! But I’d deleted file update.php from 
   wp-admin. I don’t know is it associated)))
    So thank You Marcel for feedback 
   and timely reaction! 😉
    -  This reply was modified 8 years, 9 months ago by [pavel21](https://wordpress.org/support/users/pavel21/).
 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9480630)
 * Okay, nice.
    I still don’t understand it, but at least it works now.

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

The topic ‘Problem with transfering’ is closed to new replies.

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

 * 12 replies
 * 2 participants
 * Last reply from: [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/sql-bug-problem-with-transfering/#post-9480630)
 * Status: resolved