Answers.Body: <p>Solved.</p>
  <p>Issue was related to <code>WP_CONTENT_DIR</code> being defined in <code>wp-config.php</code>.</p>
  <p>Full details in <a href="https://forum.cloudron.io/topic/10924/v3-5-gives-there-has-been-a-critical-error-on-your-website-please-check-your-site-admin-email-inbox-for-instructions/" rel="nofollow noreferrer">this thread</a>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-01-24T15:15:26.007Z
Answers.LastActivityDate: 2024-01-24T15:15:26.007Z
Answers.UserDisplayName: Justin Young
Body: <p>With CiviCRM 5.69.2 on WordPress 6.4.2 and PHP 8.1, I'm getting the following when trying to access CiviCRM:</p>
  <blockquote>
  <p>There has been a critical error on this website. Please check your
  site admin email inbox for instructions.</p>
  </blockquote>
  <p>Following are the logs:</p>
  <pre><code>PHP Warning: Undefined property: CRM_Core_Config::$extensionsDir in /app/data/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 89, referer: https://example.com/wp-admin/admin.php?page=civi_options
  
  PHP Warning: Undefined property: CRM_Core_Config::$extensionsURL in /app/data/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 90, referer: https://example.com/wp-admin/admin.php?page=civi_options
  
  PHP Warning: Undefined property: CRM_Core_Config::$uploadDir in /app/data/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 92, referer: https://example.com/wp-admin/admin.php?page=civi_options
  
  PHP Fatal error: Uncaught CRM_Core_Exception: [0: Invalid currency &quot;&quot;\n\n thrown in /app/data/wp-content/plugins/civicrm/civicrm/CRM/Utils/Money.php on line 85, referer: https://example.com/wp-admin/admin.php?page=civi_options
  </code></pre>
  <p>This is a very small and simple CiviCRM install that was working a few months ago.</p>
  <p>Any insight as to next steps?</p>
  
Tags: <wordpress><php><access>
Title: Cannot access CiviCRM: "Undefined property: CRM_Core_Config"
ThreadText: # Cannot access CiviCRM: "Undefined property: CRM_Core_Config"
  
  (Asked by: username_0 on 2024-01-22)
  
  With CiviCRM 5.69.2 on WordPress 6.4.2 and PHP 8.1, I'm getting the following when trying to access CiviCRM:
  
  > There has been a critical error on this website. Please check your
  > site admin email inbox for instructions.
  
  Following are the logs:
  
  ```
  PHP Warning: Undefined property: CRM_Core_Config::$extensionsDir in /app/data/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 89, referer: https://example.com/wp-admin/admin.php?page=civi_options
  
  PHP Warning: Undefined property: CRM_Core_Config::$extensionsURL in /app/data/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 90, referer: https://example.com/wp-admin/admin.php?page=civi_options
  
  PHP Warning: Undefined property: CRM_Core_Config::$uploadDir in /app/data/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 92, referer: https://example.com/wp-admin/admin.php?page=civi_options
  
  PHP Fatal error: Uncaught CRM_Core_Exception: [0: Invalid currency ""\n\n thrown in /app/data/wp-content/plugins/civicrm/civicrm/CRM/Utils/Money.php on line 85, referer: https://example.com/wp-admin/admin.php?page=civi_options
  
  ```
  
  This is a very small and simple CiviCRM install that was working a few months ago.
  
  Any insight as to next steps?
  
  **Tags:** wordpress, php, access
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2024-01-24. Score: 1
  
  Solved.
  
  Issue was related to `WP_CONTENT_DIR` being defined in `wp-config.php`.
  
  Full details in [this thread](https://forum.cloudron.io/topic/10924/v3-5-gives-there-has-been-a-critical-error-on-your-website-please-check-your-site-admin-email-inbox-for-instructions/).
  
  
  ---
  
  