<?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>
									WordPress database error You have an error in your SQL syntax; - Bug Reports - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/general-forums-bug-reports/wordpress-database-error-you-have-an-error-in-your-sql-syntax-2/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 20 Apr 2026 06:13:50 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: WordPress database error You have an error in your SQL syntax;</title>
                        <link>https://wpforo.com/community/general-forums-bug-reports/wordpress-database-error-you-have-an-error-in-your-sql-syntax-2/#post-101268</link>
                        <pubDate>Wed, 22 Mar 2023 08:06:54 +0000</pubDate>
                        <description><![CDATA[Hi @chris,Perfect! We have indeed hidden the member&#039;s list and delisted everyone.Thank you for your quick fix.]]></description>
                        <content:encoded><![CDATA[Hi @chris,<br /><br />Perfect! We have indeed hidden the member's list and delisted everyone.<br /><br />Thank you for your quick fix.]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-forums-bug-reports/">Bug Reports - wpForo 2.0</category>                        <dc:creator>copilot</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-forums-bug-reports/wordpress-database-error-you-have-an-error-in-your-sql-syntax-2/#post-101268</guid>
                    </item>
				                    <item>
                        <title>RE: WordPress database error You have an error in your SQL syntax;</title>
                        <link>https://wpforo.com/community/general-forums-bug-reports/wordpress-database-error-you-have-an-error-in-your-sql-syntax-2/#post-101259</link>
                        <pubDate>Tue, 21 Mar 2023 13:38:01 +0000</pubDate>
                        <description><![CDATA[Hi @copilot,
The reason, is that you have disabled &quot;Display on Members List&quot; option from the Usergroup options for all the Usergroups, and because of that you get that SQL Syntax Error.
We...]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@copilot,</span></p>
<p>The reason, is that you have disabled "<span>Display on Members List</span>" option from the Usergroup options for all the Usergroups, and because of that you get that SQL Syntax Error.</p>
<p>We will fix this for the new update,</p>
<p>Thanks.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-forums-bug-reports/">Bug Reports - wpForo 2.0</category>                        <dc:creator>Chris</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-forums-bug-reports/wordpress-database-error-you-have-an-error-in-your-sql-syntax-2/#post-101259</guid>
                    </item>
				                    <item>
                        <title>RE: WordPress database error You have an error in your SQL syntax;</title>
                        <link>https://wpforo.com/community/general-forums-bug-reports/wordpress-database-error-you-have-an-error-in-your-sql-syntax-2/#post-101258</link>
                        <pubDate>Tue, 21 Mar 2023 12:06:36 +0000</pubDate>
                        <description><![CDATA[EDIT: The error also shows when the Forum Footer and Forum Statistics are disabled.
Can you make sense of this error? The thing that I do find odd is the missing value ():
 AND `groupid` I...]]></description>
                        <content:encoded><![CDATA[<p>EDIT: The error also shows when the Forum Footer and <span>Forum Statistics are disabled.<br /><br /></span></p>
<p>Can you make sense of this error? The thing that I do find odd is the missing value ():</p>
<pre contenteditable="false"> AND `groupid` IN  ()</pre>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-forums-bug-reports/">Bug Reports - wpForo 2.0</category>                        <dc:creator>copilot</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-forums-bug-reports/wordpress-database-error-you-have-an-error-in-your-sql-syntax-2/#post-101258</guid>
                    </item>
				                    <item>
                        <title>WordPress database error You have an error in your SQL syntax;</title>
                        <link>https://wpforo.com/community/general-forums-bug-reports/wordpress-database-error-you-have-an-error-in-your-sql-syntax-2/#post-101241</link>
                        <pubDate>Mon, 20 Mar 2023 17:08:17 +0000</pubDate>
                        <description><![CDATA[Hi wpForo team,
When &quot;Show Forum Statistic&quot; (under: /wp-admin/admin.php?page=wpforo-settings&amp;wpf_tab=components)is enabled, I get the following PHP error:


WordPress database error ...]]></description>
                        <content:encoded><![CDATA[<p>Hi wpForo team,</p>
<p>When "<span>Show Forum Statistic</span>" (under: /wp-admin/admin.php?page=wpforo-settings&amp;wpf_tab=components)<br />is enabled, I get the following PHP error:</p>
<div>
<div>
<pre contenteditable="false">WordPress database error 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 ')
                            ORDER BY `userid` DESC LIMIT 1' at line 3 for query SELECT `userid` FROM `wp_wpforo_profiles`
                        WHERE `status` IN ('active')
                          AND `groupid` IN  ()
                            ORDER BY `userid` DESC LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/Divi/page.php'), the_content, apply_filters('the_content'), WP_Hook-&gt;apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, wpforo\wpforo-&gt;{closure}, include('/plugins/wpforo/themes/2022/index.php'), include('/plugins/wpforo/themes/2022/footer.php'), wpforo\wpforo-&gt;statistic, wpforo\classes\Members-&gt;get_newest_member, QM_DB-&gt;query</pre>
</div>
</div>
<div> </div>
<div>
<table>
<tbody>
<tr class="wpf-dw-tr">
<td class="wpf-dw-td">Web Server</td>
<td class="wpf-dw-td-value">nginx/1.21.4</td>
</tr>
<tr class="wpf-dw-tr">
<td class="wpf-dw-td">PHP Version</td>
<td class="wpf-dw-td-value">8.0.19</td>
</tr>
<tr class="wpf-dw-tr">
<td class="wpf-dw-td">MySQL Version</td>
<td class="wpf-dw-td-value">5.6.51</td>
</tr>
</tbody>
</table>
</div>
<div> </div>
<div>Is this a known issue?</div>
<div> </div>
<div> </div>
<div>Cheers!</div>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-forums-bug-reports/">Bug Reports - wpForo 2.0</category>                        <dc:creator>copilot</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-forums-bug-reports/wordpress-database-error-you-have-an-error-in-your-sql-syntax-2/#post-101241</guid>
                    </item>
							        </channel>
        </rss>
		