Title: Error after restoring WordPress.
Last modified: August 28, 2021

---

# Error after restoring WordPress.

 *  Resolved [john210360](https://wordpress.org/support/users/john210360/)
 * (@john210360)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/)
 * After restoring a WordPress backup I get the following error on the WordPress
   dashboard:
 * Something went wrong! Error: “CONNECTION_ERROR : “Unknown Error. Last error: 
   include_once(): Failed opening ‘/var/lib/sec/wp-settings.php’ for inclusion (
   include_path=’.:/usr/share/php’)”.
 * How can I fix this?
 * Thanks in advance for your help.

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

 *  Plugin Author [alexandergull](https://wordpress.org/support/users/alexandergull/)
 * (@alexandergull)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14814007)
 * Greetings [@john210360](https://wordpress.org/support/users/john210360/)
 * It seems this error does not refer to the CleanTalk plugin.
 * What makes you think it does?
 * Be well,
 *  Thread Starter [john210360](https://wordpress.org/support/users/john210360/)
 * (@john210360)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14814034)
 * CleanTalk doesn’t display the anti-spam statistics. Instead it displays
 * Something went wrong! Error: “CONNECTION_ERROR : “Unknown Error. Last error: 
   include_once(): Failed opening ‘/var/lib/sec/wp-settings.php’ for inclusion (
   include_path=’.:/usr/share/php’)”.
 * When I go to the CleanTalk configuration page it displays:
 * 2021-08-28 12:49:34: Error occurred while updating SpamFireWall local base. Error:
   CREATE TEMP TABLES: COULD NOT CREATEwp_cleantalk_sfw_temp
 * It is probably a WordPress misconfiguration issue because it happened after a
   restore.
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14814786)
 * Hello, [@john210360](https://wordpress.org/support/users/john210360/).
    Please,
   re-install the CleanTalk Anti-Spam Plugin with the Complete Deactivation option:•
   WordPress Admin Page —> Settings —> Anti-Spam by CleanTalk —> Advanced settings—
   > set the option “Complete Deactivation” to “On” —> Save Changes; • WordPress
   Admin Page —> Plugins —> Installed plugins —> Anti-Spam by CleanTalk —> Deactivate
   and Delete.
 * Then install it anew:
    [https://cleantalk.org/help/install-wordpress](https://cleantalk.org/help/install-wordpress)
 * It will solve the issue. Did it help?
 *  Thread Starter [john210360](https://wordpress.org/support/users/john210360/)
 * (@john210360)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14815754)
 * I granted create and drop rights on the wordpress database to the wordpress user.
   Then I reinstalled CleanTalk. That solved the database access error.
 * I am now left with only one error on the dashboard: JSON_DECODE_ERROR.
 * Do you have a solution for that?
 * Thanks again for your help.
    -  This reply was modified 4 years, 8 months ago by [john210360](https://wordpress.org/support/users/john210360/).
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14815778)
 * Please, synchronize the plugin:
    • WordPress Admin Page —> Settings —> Anti-Spam
   by CleanTalk —> press the button “Synchronize with Cloud”
 * If it didn’t help, please tell me the following details:
    1. Your PHP version
   2. Your WordPress version 3. The CleanTalk plugin version you are using
 * Thank you.
 *  Thread Starter [john210360](https://wordpress.org/support/users/john210360/)
 * (@john210360)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14815920)
 * That didn’t work.
 * PHP version = 7.4.16
    Wordpress version: 5.7.2 CleanTalk version: 5.160.2
 * Thanks.
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14815963)
 * Thank you for your reply.
    I’ve passed your details to the programmer staff. 
   We will write back to you within 2-3 business days. Please, wait.
 *  [Artyom Davydov](https://wordpress.org/support/users/sartemd174/)
 * (@sartemd174)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14817858)
 * Hello,
 * Could you check it once again? We had a server-side issues.
 * Best regards.
 *  Thread Starter [john210360](https://wordpress.org/support/users/john210360/)
 * (@john210360)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14818123)
 * I have found the problem. After disabling the WP Fastest Caching plugin and synchronizing
   with the cloud all CleanTalk error messages disappeared.
 * Thanks again for your help.
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14818185)
 * Thank you for your confirmation.
    Kind regards.
 *  [Simon](https://wordpress.org/support/users/cleanadmin/)
 * (@cleanadmin)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14818241)
 * But I am not using WP Fastest Cache?
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14818457)
 * Please, repeat the following, [@cleanadmin](https://wordpress.org/support/users/cleanadmin/):
   •
   WordPress Admin Page —> Plugins —> Installed plugins —> Anti-Spam by CleanTalk—
   > Deactivate and Activate again • WordPress Admin Page —> Settings —> Anti-Spam
   by CleanTalk —> press the button “Synchronize with Cloud”
 * Did it help?
 *  Plugin Support [katereji](https://wordpress.org/support/users/katereji/)
 * (@katereji)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14846096)
 * Hello, [@cleanadmin](https://wordpress.org/support/users/cleanadmin/)
    We haven’t
   heard back from you in a while, so I’m going to mark this thread as “resolved”–
   if you have any further questions, you can start a new thread.

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

The topic ‘Error after restoring WordPress.’ is closed to new replies.

 * ![](https://ps.w.org/cleantalk-spam-protect/assets/icon-256x256.png?rev=1637702)
 * [Spam protection, Honeypot, Anti-Spam by CleanTalk](https://wordpress.org/plugins/cleantalk-spam-protect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cleantalk-spam-protect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cleantalk-spam-protect/)
 * [Active Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cleantalk-spam-protect/reviews/)

 * 13 replies
 * 6 participants
 * Last reply from: [katereji](https://wordpress.org/support/users/katereji/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/error-after-restoring-wordpress/#post-14846096)
 * Status: resolved