<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									DB collation issue after updating to 7.0.0 - Plugin Update Issues				            </title>
            <link>https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/</link>
            <description>wpDiscuz WordPress Comment Plugin Community. Support and Resources.</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 16 Sep 2026 06:47:01 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: DB collation issue after updating to 7.0.0</title>
                        <link>https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-552</link>
                        <pubDate>Mon, 25 May 2020 12:46:56 +0000</pubDate>
                        <description><![CDATA[OK I fixed the issue. Thanks once again for all the hints.
For future readers, the fix was:
alter table wp_wc_comments_subscription CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode...]]></description>
                        <content:encoded><![CDATA[<p>OK I fixed the issue. Thanks once again for all the hints.</p>
<p>For future readers, the fix was:</p>
<pre class="lang-sql prettyprint prettyprinted"><code><span class="pln"></span><span class="kwd">alter table wp_wc_comments_subscription CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;<br /><br />(then the same for the wp_wc_follow_users table)</span><span class="pun"></span></code></pre>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/plugin-update-issues/">Plugin Update Issues</category>                        <dc:creator>xpil</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-552</guid>
                    </item>
				                    <item>
                        <title>RE: DB collation issue after updating to 7.0.0</title>
                        <link>https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-550</link>
                        <pubDate>Mon, 25 May 2020 12:30:13 +0000</pubDate>
                        <description><![CDATA[@alina I do not really understand your last response. I did not clone anything from anywhere, been using this database since 2011.
Anyway, what would be the quickest way for me to fix the i...]]></description>
                        <content:encoded><![CDATA[<p>@alina I do not really understand your last response. I did not clone anything from anywhere, been using this database since 2011.</p>
<p>Anyway, what would be the quickest way for me to fix the issue?</p>
<p>I am not a MySQL expert but I understand databases in general so if you could just nudge me in the right direction, I'd probably manage fixing this on my own.</p>
<p>Thanks in advance.</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/plugin-update-issues/">Plugin Update Issues</category>                        <dc:creator>xpil</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-550</guid>
                    </item>
				                    <item>
                        <title>RE: DB collation issue after updating to 7.0.0</title>
                        <link>https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-546</link>
                        <pubDate>Mon, 25 May 2020 12:12:33 +0000</pubDate>
                        <description><![CDATA[@xpil,
The wpDiscuz get the collection from WordPress. It seems you&#039;ve cloned it from somewhere else, that causes the issue. You just need to change the wpDiscuz table collection to your ta...]]></description>
                        <content:encoded><![CDATA[<p>@xpil,</p>
<p>The wpDiscuz get the collection from WordPress. It seems you've cloned it from somewhere else, that causes the issue. You just need to change the wpDiscuz table collection to your table collection and check again.&nbsp;</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/plugin-update-issues/">Plugin Update Issues</category>                        <dc:creator>Alina</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-546</guid>
                    </item>
				                    <item>
                        <title>RE: DB collation issue after updating to 7.0.0</title>
                        <link>https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-543</link>
                        <pubDate>Mon, 25 May 2020 11:53:36 +0000</pubDate>
                        <description><![CDATA[Hi @tomson. The error has not disappeared despite me clicking the &quot;Fix Tables&quot; button for the 3rd time. It states:
&nbsp;
[Illegal mix of collations (utf8mb4_unicode_520_ci,IMPLICIT) and (...]]></description>
                        <content:encoded><![CDATA[<p>Hi @tomson. The error has not disappeared despite me clicking the "Fix Tables" button for the 3rd time. It states:</p>
<p>&nbsp;</p>
<p><br /><code>SELECT
 `c`.`comment_author_email`, `c`.`comment_author`, 
COUNT(`c`.`comment_ID`) AS `count`, IFNULL(`s`.`count`, 0) AS `scount`, 
IFNULL(`fi`.`count`, 0) AS `ficount`, IFNULL(`fw`.`count`, 0) AS 
`fwcount`, MAX(`c`.`comment_date_gmt`) AS `last_date` FROM `wp_comments`
 AS `c` LEFT JOIN (SELECT `email`, COUNT(`email`) AS `count` FROM 
`wp_wc_comments_subscription` WHERE `confirm` = 1 GROUP BY `email`) AS 
`s` ON `s`.`email` LIKE `c`.`comment_author_email` LEFT JOIN (SELECT 
`follower_email`, COUNT(`follower_email`) AS `count` FROM 
`wp_wc_follow_users` WHERE `confirm` = 1 GROUP BY `follower_email`) AS 
`fi` ON `fi`.`follower_email` LIKE `c`.`comment_author_email` LEFT JOIN 
(SELECT `user_email`, COUNT(`user_email`) AS `count` FROM 
`wp_wc_follow_users` WHERE `confirm` = 1 GROUP BY `user_email`) AS `fw` 
ON `fw`.`user_email` LIKE `c`.`comment_author_email` WHERE 
`c`.`comment_approved` = '1' GROUP BY `c`.`comment_author_email`, 
`c`.`comment_author` ORDER BY `count` DESC LIMIT 7 OFFSET 0;</code></p>
<p>As you can see below, the two fields have different collation settings indeed:<code></code></p>
<p><img src="https://i.imgur.com/noFPhOj.png" /><code></code></p>
<p>so the message reflects what's in the tables.</p>
<p>I would say either enforce collation on the JOIN operator or update one of the tables (the latter one preferably) so that collations match.<code></code></p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/plugin-update-issues/">Plugin Update Issues</category>                        <dc:creator>xpil</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-543</guid>
                    </item>
				                    <item>
                        <title>RE: DB collation issue after updating to 7.0.0</title>
                        <link>https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-538</link>
                        <pubDate>Mon, 25 May 2020 11:40:42 +0000</pubDate>
                        <description><![CDATA[@xpil,
The problem should be fixed. Please check it again and copy and paste the error if it still exists. Are you sure the error is not changed?]]></description>
                        <content:encoded><![CDATA[<p>@xpil,</p>
<p>The problem should be fixed. Please check it again and copy and paste the error if it still exists. Are you sure the error is not changed?</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/plugin-update-issues/">Plugin Update Issues</category>                        <dc:creator>Tom</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-538</guid>
                    </item>
				                    <item>
                        <title>RE: DB collation issue after updating to 7.0.0</title>
                        <link>https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-537</link>
                        <pubDate>Mon, 25 May 2020 11:36:13 +0000</pubDate>
                        <description><![CDATA[@alina thanks for quick response.
I clicked the &quot;Fix Tables&quot; button as per you advice and it gave me the green &quot;Done&quot; message but the issue still remains.
Also, unlike other &quot;Fix*&quot; buttons...]]></description>
                        <content:encoded><![CDATA[<p>@alina thanks for quick response.</p>
<p>I clicked the "Fix Tables" button as per you advice and it gave me the green "Done" message but the issue still remains.</p>
<p>Also, unlike other "Fix*" buttons in the Tools section, this one becomes active after refreshing the page.</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/plugin-update-issues/">Plugin Update Issues</category>                        <dc:creator>xpil</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-537</guid>
                    </item>
				                    <item>
                        <title>RE: DB collation issue after updating to 7.0.0</title>
                        <link>https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-529</link>
                        <pubDate>Mon, 25 May 2020 11:16:18 +0000</pubDate>
                        <description><![CDATA[Hi @xpil,
Please navigate to the Dashboard &gt; Comments &gt; wpDiscuz &gt; Tolls &gt; Fix Tables  admin page and click on &quot;Fix Tables&quot; button and check again. Everything should work fine.]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@xpil,</span></p>
<p>Please navigate to the Dashboard &gt; Comments &gt; wpDiscuz &gt; Tolls &gt; <span>Fix Tables  admin page and click on "Fix Tables" button and check again. Everything should work fine.</span></p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/plugin-update-issues/">Plugin Update Issues</category>                        <dc:creator>Alina</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-529</guid>
                    </item>
				                    <item>
                        <title>DB collation issue after updating to 7.0.0</title>
                        <link>https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-523</link>
                        <pubDate>Mon, 25 May 2020 10:58:57 +0000</pubDate>
                        <description><![CDATA[Hello again.
&nbsp;
I can see the following error message in my WPDiscuZ dashboard after 7.0.0 update:
&nbsp;
[Illegal mix of collations (utf8mb4_unicode_520_ci,IMPLICIT) and (utf8mb4_un...]]></description>
                        <content:encoded><![CDATA[<p>Hello again.</p>
<p>&nbsp;</p>
<p>I can see the following error message in my WPDiscuZ dashboard after 7.0.0 update:</p>
<p>&nbsp;</p>
<p><br /><code>SELECT
 `c`.`comment_author_email`, `c`.`comment_author`, 
COUNT(`c`.`comment_ID`) AS `count`, IFNULL(`s`.`count`, 0) AS `scount`, 
IFNULL(`fi`.`count`, 0) AS `ficount`, IFNULL(`fw`.`count`, 0) AS 
`fwcount`, MAX(`c`.`comment_date_gmt`) AS `last_date` FROM `wp_comments`
 AS `c` LEFT JOIN (SELECT `email`, COUNT(`email`) AS `count` FROM 
`wp_wc_comments_subscription` WHERE `confirm` = 1 GROUP BY `email`) AS 
`s` ON `s`.`email` LIKE `c`.`comment_author_email` LEFT JOIN (SELECT 
`follower_email`, COUNT(`follower_email`) AS `count` FROM 
`wp_wc_follow_users` WHERE `confirm` = 1 GROUP BY `follower_email`) AS 
`fi` ON `fi`.`follower_email` LIKE `c`.`comment_author_email` LEFT JOIN 
(SELECT `user_email`, COUNT(`user_email`) AS `count` FROM 
`wp_wc_follow_users` WHERE `confirm` = 1 GROUP BY `user_email`) AS `fw` 
ON `fw`.`user_email` LIKE `c`.`comment_author_email` WHERE 
`c`.`comment_approved` = '1' GROUP BY `c`.`comment_author_email`, 
`c`.`comment_author` ORDER BY `count` DESC LIMIT 7 OFFSET 0;</code></p>
<p><code></code></p>
<p>Link to a screenshot of the error: <img src="https://i.imgur.com/IuPxjFg.png" /><code></code></p>
<p><code></code></p>
<p>It does not seem to affect anything but I would like it to be gone.</p>
<p>Hints?<code></code></p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/plugin-update-issues/">Plugin Update Issues</category>                        <dc:creator>xpil</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/plugin-update-issues/db-collation-issue-after-updating-to-7-0-0/#post-523</guid>
                    </item>
							        </channel>
        </rss>
		