Hello,
Thank you for contacting Rank Math, and sorry for any inconvenience caused.
Please clear your website and server’s cache and see if that fixes the issue.
Also, please ensure that the following PHP values are set:
PHP Memory Limit: 512M
Max input time: 150
PHP time limit: 120
PHP max input variables: 1000
You may get in touch with your web host and ask them to set the above values.
If the issue persists, then please follow this troubleshooting guide:
https://rankmath.com/kb/wordpress-database-error-commands-out-of-sync/
Let us know how that goes.
Thank you.
Hello, i had already read the article and also applied your suggestions. In this case i’ve just set up the memory limit. Unfortunately the issue persists.
What should i check?
Thanks
Hello,
The error is related to your MySQL, I would suggest checking this one first with your hosting provider as they are in the best position to help you resolve this error.
Let us know how that goes.
Looking forward to helping you on this one.
Hello, yes i know that the error is related to my SQL. The hosting provider doesn’t offer support about problems with queries on DB. The connection to DB is OK.
Greetings
Hello,
We might need to take a closer look at the settings and further debug the issue. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.

It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Please also include your FTP login so we can further debug the issue.
Looking forward to helping you on this one.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for providing the login information.
I checked your error logs including the debug logs and the last time the error “Commands out of sync” has occurred was February 2nd and I can’t seem to replicate it now.
Are there any steps to replicate this issue from your end?
As for the appearance of your website, could you also please share some screenshots of the area that has appearance issues? We would like to further troubleshoot this by checking each of your plugins and the currently active theme.
Looking forward to helping you on this one.
Dear Jeremy,
me too I wasn’t able to replicate the error “Commands out of sync”. This issues in the error log was probably due to a temporary server hosting overload.
After several attempts, I found that two colors had disappeared from the palette that you find in Uncode –> Theme Options –> Visula –> Palette (i.e. “BLU CHIARO” and “VERDE AZZURRO”) and that the background of the navigation menu (top menu) had turned white, for no reason (Uncode –> Theme Options –> Visual –> Customize –> Dark Skin and Menu). I have now restored everything. I would be curious to understand the reasons for these unexpected changes. Thanks for the help.
Sorry, but i’m not able to upload any image.
Hello,
Our plugin doesn’t change the data from your theme so this must have happened for any other reason, unless there’s concrete evidence that Rank Math was the cause of this, we should look elsewhere for that.
Regarding the database error, we have an article that you can check and test the options to see if you can find the culprit: https://rankmath.com/kb/wordpress-database-error-commands-out-of-sync/
In any case, most of the time such issues are caused by a huge number of plugins installed on the website, and the server resources get exhausted.
Don’t hesitate to get in touch if you have any other questions.
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.