• Hello,

    After doing a site restore because a plugin breaking the entire site, it seems like WordPress cannot locate the database? When trying to edit a page, I get this error:

    Array
    (
        [callback] => Array
            (
                [0] => CRM_Core_Error
                [1] => simpleHandler
            )
    
        [code] => -18
        [message] => DB Error: no such table
        [mode] => 16
        [debug_info] => SELECT *,  config_backend, locales, locale_custom_strings
     FROM civicrm_domain 
    
     WHERE (  civicrm_domain.id = 1 )  
    
     [nativecode=1146 ** Table 'frenchf_crm.civicrm_domain' doesn't exist]
        [type] => DB_Error
        [user_info] => SELECT *,  config_backend, locales, locale_custom_strings
     FROM civicrm_domain 
    
     WHERE (  civicrm_domain.id = 1 )  
    
     [nativecode=1146 ** Table 'frenchf_crm.civicrm_domain' doesn't exist]
        [to_string] => [db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info="SELECT *,  config_backend, locales, locale_custom_strings
     FROM civicrm_domain 
    
     WHERE (  civicrm_domain.id = 1 )  
    
     [nativecode=1146 ** Table 'frenchf_crm.civicrm_domain' doesn't exist]"]
    )

    How should I go about resolving this? Thanks!

Viewing 1 replies (of 1 total)
  • Sorry, I’m not sure how to fix your DB problem. However, for reference, in the future when a plugin “breaks” your site you can just delete the plugin via FTP. You normally don’t have to restore because of a bad plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Initialization Error / Unable to locate database?’ is closed to new replies.