Title: Errors when enabling plugin
Last modified: July 16, 2021

---

# Errors when enabling plugin

 *  Resolved [regalguy](https://wordpress.org/support/users/regalguy/)
 * (@regalguy)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/errors-when-enabling-plugin/)
 * Debug:
    Constants: CLEANTALK_AJAX_USE_BUFFER NOT_DEFINED CLEANTALK_AJAX_USE_FOOTER_HEADER
   NOT_DEFINED CLEANTALK_ACCESS_KEY NOT_DEFINED CLEANTALK_CHECK_COMMENTS_NUMBER 
   NOT_DEFINED CLEANTALK_CHECK_MESSAGES_NUMBER NOT_DEFINED CLEANTALK_PLUGIN_DIR /
   home/customer/www/regaldog.co.uk/public_html/wp-content/plugins/cleantalk-spam-
   protect/ WP_ALLOW_MULTISITE NOT_DEFINED
 *     ```
       ArrayObject Object
       (
           [storage:ArrayObject:private] => Array
               (
                   [10:43:47_ACTION__FUNCTION_] => Array
       (
           [0] => Failed.
       Query: ALTER TABLE <code>475_cleantalk_sfw</code> ADD COLUMN <code>source</code> TINYINT(1) NULL DEFAULT NULL AFTER <code>status</code>;
       Error: Table 'aurasis1_regaldog.475_cleantalk_sfw' doesn't exist
           [1] => Failed.
       Query: ALTER TABLE <code>475_cleantalk_sfw_logs</code> ADD COLUMN <code>source</code> TINYINT(1) NULL DEFAULT NULL AFTER <code>ua_name</code>, ADD COLUMN <code>network</code> VARCHAR(20) NULL DEFAULT NULL AFTER <code>source</code>, ADD COLUMN <code>first_url</code> VARCHAR(100) NULL DEFAULT NULL AFTER <code>network</code>, ADD COLUMN <code>last_url</code> VARCHAR(100) NULL DEFAULT NULL AFTER <code>first_url</code>;
       Error: Table 'aurasis1_regaldog.475_cleantalk_sfw_logs' doesn't exist
       )
   
                   [10:44:59_ACTION_sanitize_option_cleantalk_settings_FUNCTION_] => Array
       (
           [https://apix1.cleantalk.org] => Array
               (
                   [result] => {"error_message":"Method name unset.","error_no":2}
                   [exec_time] => 0.071208000183105
                   [error] => OK
               )
   
           [https://apix2.cleantalk.org] => Array
               (
                   [result] => {"error_message":"Method name unset.","error_no":2}
                   [exec_time] => 0.34128212928772
                   [error] => OK
               )
   
           [https://apix3.cleantalk.org] => Array
               (
                   [result] => {"error_message":"Method name unset.","error_no":2}
                   [exec_time] => 0.36599683761597
                   [error] => OK
               )
   
           [https://apix4.cleantalk.org] => Array
               (
                   [result] => {"error_message":"Method name unset.","error_no":2}
                   [exec_time] => 0.65394186973572
                   [error] => OK
               )
   
           [https://apix5.cleantalk.org] => Array
               (
                   [result] => {"error_message":"Method name unset.","error_no":2}
                   [exec_time] => 0.051409006118774
                   [error] => OK
               )
   
       )
   
                   [10:46:39_ACTION_sanitize_option_cleantalk_settings_FUNCTION_] => Array
       (
           [https://apix1.cleantalk.org] => Array
               (
                   [result] => {"error_message":"Method name unset.","error_no":2}
                   [exec_time] => 0.077420949935913
                   [error] => OK
               )
   
           [https://apix2.cleantalk.org] => Array
               (
                   [result] => {"error_message":"Method name unset.","error_no":2}
                   [exec_time] => 0.34234690666199
                   [error] => OK
               )
   
           [https://apix3.cleantalk.org] => Array
               (
                   [result] => {"error_message":"Method name unset.","error_no":2}
                   [exec_time] => 0.36661601066589
                   [error] => OK
               )
   
           [https://apix4.cleantalk.org] => Array
               (
                   [result] => {"error_message":"Method name unset.","error_no":2}
                   [exec_time] => 0.70655608177185
                   [error] => OK
               )
   
           [https://apix5.cleantalk.org] => Array
               (
                   [result] => {"error_message":"Method name unset.","error_no":2}
                   [exec_time] => 0.055197954177856
                   [error] => OK
               )
   
       )
   
               )
   
       )
       ```
   

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

 *  Plugin Support [amagsumov](https://wordpress.org/support/users/amagsumov/)
 * (@amagsumov)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/errors-when-enabling-plugin/#post-14678667)
 * Hello [@regalguy](https://wordpress.org/support/users/regalguy/)
 * Thank you for the details. Please, deactivate the plugin with the “Complete deactivation”
   option enabled and then activate it again.
 * 1. Enter the Antispam by Cleantalk plugin settings. (WordPress Dashboard -> Settings-
   > Antispam by Cleantalk -> Advanced settings)
 * 2. Check the last settings “Complete deactivation” and save changes.
 * 3. Deactivate the plugin on the “Plugins” page in WordPress Dashboard.
 * 4. Then activate it.
 * 5. Proceed to the plugin’s settings. (See item 1.)
 * Did it help?
    -  This reply was modified 4 years, 9 months ago by [amagsumov](https://wordpress.org/support/users/amagsumov/).
 *  Plugin Support [katereji](https://wordpress.org/support/users/katereji/)
 * (@katereji)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/errors-when-enabling-plugin/#post-14705504)
 * Hello.
    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 2 replies - 1 through 2 (of 2 total)

The topic ‘Errors when enabling plugin’ 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/)

 * 2 replies
 * 3 participants
 * Last reply from: [katereji](https://wordpress.org/support/users/katereji/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/errors-when-enabling-plugin/#post-14705504)
 * Status: resolved