Title: critical database error
Last modified: February 28, 2022

---

# critical database error

 *  Resolved [freshuk](https://wordpress.org/support/users/freshuk/)
 * (@freshuk)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/critical-database-error/)
 * hello
    since few days ago, i am having those errors in the log, related to decalog.
   few hundreds times a day, i can’t seem to understand when exactly. 🟥 Critical[
   0] A database error was detected during the page rendering: “Table `XXXXXXXXXXXXX.
   wp_decalog_fd50e8dfb3e24da5845d285a21e18833` doesn`t exist&ldquo; in the query&
   ldquo;SELECT COUNT(*) as CNT FROM`wp_decalog_fd50e8dfb3e24da5845d285a21e18833`;“.
 * the token after wp_decalog_x changes in each error, but the error is the same.
   
   any idea? i think it started since i installed other perfops plugins such as 
   sessions, api traffic, ip locator and opcache manager. will try to disable them
   and see if it solves the issue.
 * thank you !

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

 *  Plugin Author [Pierre Lannoy](https://wordpress.org/support/users/pierrelannoy/)
 * (@pierrelannoy)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/critical-database-error/#post-15421793)
 * Hello [@freshuk](https://wordpress.org/support/users/freshuk/) !
    Do you still
   have this error? Are you sure there’s many “random tokens” or just some (2 or
   3)?
 *  Thread Starter [freshuk](https://wordpress.org/support/users/freshuk/)
 * (@freshuk)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/critical-database-error/#post-15422929)
 * yes i am still having this one a lot
    [https://snipboard.io/KZg21N.jpg](https://snipboard.io/KZg21N.jpg)
   and yes it seems there are 2 or 3 different tokens
 *  Plugin Author [Pierre Lannoy](https://wordpress.org/support/users/pierrelannoy/)
 * (@pierrelannoy)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/critical-database-error/#post-15423847)
 * Some DecaLog tables have been deleted outside the current DecaLog process.
    It
   can be a manual operation maintenance or another plugin.
 * Normally each DecaLog logger have an id (you can find it in the url when you 
   modify it, or via wp-cli). This ID is what you call a token. I suggest you to
   identify the loggers having as id the token you see in the error and suppress/
   recreate them.
 *  Thread Starter [freshuk](https://wordpress.org/support/users/freshuk/)
 * (@freshuk)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/critical-database-error/#post-15423891)
 * Thanks, makes sence 😅
    How do i recreate them without cli access?
 *  Plugin Author [Pierre Lannoy](https://wordpress.org/support/users/pierrelannoy/)
 * (@pierrelannoy)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/critical-database-error/#post-15423896)
 * DecaLog will recreate it when you will recreate the corresponding loggers.

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

The topic ‘critical database error’ is closed to new replies.

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

 * 5 replies
 * 2 participants
 * Last reply from: [Pierre Lannoy](https://wordpress.org/support/users/pierrelannoy/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/critical-database-error/#post-15423896)
 * Status: resolved