You have either changed the prefix of wordpress database, or if the site is working properly, then the database user may not have granted access for those queries, or database table may be broken. So you can try to repair the table to see if the error is fixed:
Our theme doesn't handle with Database directly, we use built-in functions to make queries to the database (using WP_Query class) so this is not a theme problem based on these logs.
Hello,
today I check error log in my site and i see 200kB error log after 2h.
Examle:
Many times show this:
and one times show this error
Can you help me what error it is? Why show this error in template?
Thanky you
Hi Daniel,
This seems to be a problem with databases tables:
(view large version)
You have either changed the prefix of wordpress database, or if the site is working properly, then the database user may not have granted access for those queries, or database table may be broken. So you can try to repair the table to see if the error is fixed:
https://www.a2hosting.com/kb/cpanel/cpanel-database-features/optimizing-and-repairing-mysql-databases-with-phpmyadmin
Our theme doesn't handle with Database directly, we use built-in functions to make queries to the database (using WP_Query class) so this is not a theme problem based on these logs.
Thank you, i go repair it.