Body: <p>I updated my CiviCRM plugin for Wordpress to 5.30.1 from a recent version (5.27 if I recall).</p>
  <p>Since the update, I get an error appearing in debug.log multiple times per page load saying:</p>
  <pre><code>PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in /&lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 84
  </code></pre>
  <p>AND</p>
  <pre><code>PHP Notice:  Undefined property: CRM_Core_Config::$uploadDir in /&lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php
  </code></pre>
  <p>Additionally, on Contact pages a CiviCRM error pops up saying say &quot;Supplied mime-type is not accepted&quot; and this is preventing the standard use of CiviCRM. Also the images are not loading (missing?) on Contact pages. All the paths are working but if I try to upload a new image for a Contact, it does not appear anywhere on the server.</p>
  <ul>
  <li><p>I suspect the issue is the folders for <code>$extensionsDir</code> and <code>$uploadDir</code> but the permissions are correct (I reset them).</p>
  </li>
  <li><p>I have tried deleting the image for a contact, re-uploading and still nothing appears on the server.</p>
  </li>
  </ul>
  <h3>My settings:</h3>
  <p>Temporary Files Directory =&gt; [civicrm.files]/upload/
  Image Directory =&gt; [civicrm.files]/image-directory/
  Custom Files Directory  =&gt; [civicrm.files]/custom/
  Extensions Directory =&gt; [civicrm.files]/ext/</p>
  <p>Running <code>echo Civi::paths()-&gt;getPath(&quot;[civicrm.files]/&quot;)</code> gives me:</p>
  <pre><code>&lt;my-website&gt;/public_html/wp-content/uploads/civicrm/
  </code></pre>
  <p>Any help or direction would be greatly appreciated.</p>
  <h1>Edit 1</h1>
  <p>If I output the variables, you can see from a single call that the variables are empty and are only all defined in the last of the calls. I thought this might be useful.</p>
  <pre><code>[26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 86
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 86
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 87
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 86
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 87
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$uploadDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 88
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =&gt;
      [extensionsURL] =&gt;
      [uploadDir] =&gt;
  )
  
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 91
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 92
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$uploadDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 94
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 86
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 87
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$uploadDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 88
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =&gt;
      [extensionsURL] =&gt;
      [uploadDir] =&gt;
  )
  
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 91
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 92
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$uploadDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 94
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =&gt;
      [extensionsURL] =&gt;
      [uploadDir] =&gt; &lt;my-website&gt;/public_html/wp-content/uploads/civicrm/upload/
  )
  
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 91
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 92
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 86
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 87
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =&gt;
      [extensionsURL] =&gt;
      [uploadDir] =&gt; &lt;my-website&gt;/public_html/wp-content/uploads/civicrm/upload/
  )
  
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 91
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 92
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =&gt;
      [extensionsURL] =&gt; &lt;my-url&gt;/wp-content/uploads/civicrm/ext/
      [uploadDir] =&gt; &lt;my-website&gt;/public_html/wp-content/uploads/civicrm/upload/
  )
  
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 91
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 86
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =&gt;
      [extensionsURL] =&gt; &lt;my-url&gt;/wp-content/uploads/civicrm/ext/
      [uploadDir] =&gt; &lt;my-website&gt;/public_html/wp-content/uploads/civicrm/upload/
  )
  
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in &lt;my-website&gt;/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 91
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =&gt; &lt;my-website&gt;/public_html/wp-content/uploads/civicrm/ext/
      [extensionsURL] =&gt; &lt;my-url&gt;/wp-content/uploads/civicrm/ext/
      [uploadDir] =&gt; &lt;my-website&gt;/public_html/wp-content/uploads/civicrm/upload/
  )
  
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =&gt; &lt;my-website&gt;/public_html/wp-content/uploads/civicrm/ext/
      [extensionsURL] =&gt; &lt;my-url&gt;/wp-content/uploads/civicrm/ext/
      [uploadDir] =&gt; &lt;my-website&gt;/public_html/wp-content/uploads/civicrm/upload/
  )
  </code></pre>
  <h1>Edit 2</h1>
  <p>I see this error message in the admin area of CiviCRM.</p>
  <pre><code>Extension download error
  ------------------------
  The CiviCRM public extensions directory at could not be contacted - please check your webserver can make external HTTP requests or contact CiviCRM team on CiviCRM forum.
  </code></pre>
  <p>Not sure about the <code>directory at could not</code> feels like there should be something after the <code>at</code> and before <code>could</code>.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-10-27T17:25:39.780Z
Comments.Text: I've been having challenges with 5.30.1 as well, though with Drupal 8. It'd be nice to hear which code might be responsible for the changes since the previous version. https://civicrm.stackexchange.com/questions/37994/why-cant-the-asset-builder-find
Comments.UserDisplayName: Alan Dixon
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-11-06T11:26:03.043Z
Comments.Text: @AlanDixon I was able to solve the issue by settings the file paths in the settings file explicitly.
  
  What was most confusing about the issue was that I have not changed the paths (only set them). It seemed like CiviCRM was not setting the paths early enough for some functions.
  
  For example:
  
  `global $civicrm_paths;
  $civicrm_paths['civicrm.files'] = array(
    'url' => '<My site addres>/wp-content/uploads/civicrm/',
    'path' => '<My site path>/public_html/wp-content/uploads/civicrm/',
  );`
Comments.UserDisplayName: C Lee
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-11-06T11:28:55.473Z
Comments.Text: I could have sworn I wrote an answer here, I even remember referemcing other questions that helped me solve this, apologies.
Comments.UserDisplayName: C Lee
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-02T03:24:19.683Z
Comments.Text: This is not an answer, but maybe another interpretation will help: when `System.php` requests `$config->uploadDir` (etc), it should be handled by the ["magic"](https://www.php.net/manual/en/language.oop5.magic.php) method `CRM_Core_Config_MagicMerge::__get($k)`. It's categorically inappropriate for it to say `PHP Notice:  Undefined property` when using a magic-method.
  
  It sounds to me like either (1) `$config` is not the object we expect it to be (`__get()` is not being use), or (2) there's something funny going on within `__get()`.
Comments.UserDisplayName: Tim Otten
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-02T03:31:57.207Z
Comments.Text: You might also double-check the PHP version -- some versions might have a bug like https://bugs.php.net/bug.php?id=74340 ?
Comments.UserDisplayName: Tim Otten
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-04T12:10:41.813Z
Comments.Text: Thanks @TimOtten, the PHP version is 7.3. I will try do some testing to understand what is happening with `__get()`.
Comments.UserDisplayName: C Lee
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-15T18:44:13.340Z
Comments.Text: I am getting this similar message right on our landing page and on every page from the Wordpress backend. Also, CiviCRM does not load the menus and the menu restore command does nothing. So at the moment, our administrative assistant cannot access the membership records, but it seems that our donation forms still load and can be submitted in spite of these messages displayed. Notice: Undefined property: CRM_Core_Config::$uploadDir in /home/gcmfor5/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 87 Notice: Undefined property: CRM_Core_Config::$uploadDir in /home/
Comments.UserDisplayName: Rick
Tags: <upgrade><security>
Title: Errors from 5.30.1 update (errors of missing settings, missing images)
ThreadText: # Errors from 5.30.1 update (errors of missing settings, missing images)
  
  (Asked by: username_0 on 2020-10-26)
  
  I updated my CiviCRM plugin for Wordpress to 5.30.1 from a recent version (5.27 if I recall).
  
  Since the update, I get an error appearing in debug.log multiple times per page load saying:
  
  ```
  PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in /<my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 84
  
  ```
  
  AND
  
  ```
  PHP Notice:  Undefined property: CRM_Core_Config::$uploadDir in /<my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php
  
  ```
  
  Additionally, on Contact pages a CiviCRM error pops up saying say "Supplied mime-type is not accepted" and this is preventing the standard use of CiviCRM. Also the images are not loading (missing?) on Contact pages. All the paths are working but if I try to upload a new image for a Contact, it does not appear anywhere on the server.
  
  * I suspect the issue is the folders for `$extensionsDir` and `$uploadDir` but the permissions are correct (I reset them).
  * I have tried deleting the image for a contact, re-uploading and still nothing appears on the server.
  
  ### My settings:
  
  Temporary Files Directory => [civicrm.files]/upload/
  Image Directory => [civicrm.files]/image-directory/
  Custom Files Directory => [civicrm.files]/custom/
  Extensions Directory => [civicrm.files]/ext/
  
  Running `echo Civi::paths()->getPath("[civicrm.files]/")` gives me:
  
  ```
  <my-website>/public_html/wp-content/uploads/civicrm/
  
  ```
  
  Any help or direction would be greatly appreciated.
  
  # Edit 1
  
  If I output the variables, you can see from a single call that the variables are empty and are only all defined in the last of the calls. I thought this might be useful.
  
  ```
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 86
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 86
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 87
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 86
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 87
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$uploadDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 88
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =>
      [extensionsURL] =>
      [uploadDir] =>
  )
  
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 91
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 92
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$uploadDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 94
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 86
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 87
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$uploadDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 88
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =>
      [extensionsURL] =>
      [uploadDir] =>
  )
  
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 91
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 92
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$uploadDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 94
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =>
      [extensionsURL] =>
      [uploadDir] => <my-website>/public_html/wp-content/uploads/civicrm/upload/
  )
  
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 91
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 92
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 86
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 87
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =>
      [extensionsURL] =>
      [uploadDir] => <my-website>/public_html/wp-content/uploads/civicrm/upload/
  )
  
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 91
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsURL in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 92
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =>
      [extensionsURL] => <my-url>/wp-content/uploads/civicrm/ext/
      [uploadDir] => <my-website>/public_html/wp-content/uploads/civicrm/upload/
  )
  
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 91
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 86
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] =>
      [extensionsURL] => <my-url>/wp-content/uploads/civicrm/ext/
      [uploadDir] => <my-website>/public_html/wp-content/uploads/civicrm/upload/
  )
  
  [26-Oct-2020 16:32:28 UTC] PHP Notice:  Undefined property: CRM_Core_Config::$extensionsDir in <my-website>/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 91
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] => <my-website>/public_html/wp-content/uploads/civicrm/ext/
      [extensionsURL] => <my-url>/wp-content/uploads/civicrm/ext/
      [uploadDir] => <my-website>/public_html/wp-content/uploads/civicrm/upload/
  )
  
  [26-Oct-2020 16:32:28 UTC] Array
  (
      [extensionsDir] => <my-website>/public_html/wp-content/uploads/civicrm/ext/
      [extensionsURL] => <my-url>/wp-content/uploads/civicrm/ext/
      [uploadDir] => <my-website>/public_html/wp-content/uploads/civicrm/upload/
  )
  
  ```
  
  # Edit 2
  
  I see this error message in the admin area of CiviCRM.
  
  ```
  Extension download error
  ------------------------
  The CiviCRM public extensions directory at could not be contacted - please check your webserver can make external HTTP requests or contact CiviCRM team on CiviCRM forum.
  
  ```
  
  Not sure about the `directory at could not` feels like there should be something after the `at` and before `could`.
  
  **Tags:** upgrade, security
  
  > **Comments:**
  > **username_1**: I've been having challenges with 5.30.1 as well, though with Drupal 8. It'd be nice to hear which code might be responsible for the changes since the previous version. https://civicrm.stackexchange.com/questions/37994/why-cant-the-asset-builder-find  
  > **username_0**: @username_1 I was able to solve the issue by settings the file paths in the settings file explicitly.  What was most confusing about the issue was that I have not changed the paths (only set them). It seemed like CiviCRM was not setting the paths early enough for some functions.  For example:  `global $civicrm_paths; $civicrm_paths['civicrm.files'] = array(   'url' => '<My site addres>/wp-content/uploads/civicrm/',   'path' => '<My site path>/public_html/wp-content/uploads/civicrm/', );`  
  > **username_0**: I could have sworn I wrote an answer here, I even remember referemcing other questions that helped me solve this, apologies.  
  > **username_2**: This is not an answer, but maybe another interpretation will help: when `System.php` requests `$config->uploadDir` (etc), it should be handled by the ["magic"](https://www.php.net/manual/en/language.oop5.magic.php) method `CRM_Core_Config_MagicMerge::__get($k)`. It's categorically inappropriate for it to say `PHP Notice:  Undefined property` when using a magic-method.  It sounds to me like either (1) `$config` is not the object we expect it to be (`__get()` is not being use), or (2) there's something funny going on within `__get()`.  
  > **username_2**: You might also double-check the PHP version -- some versions might have a bug like https://bugs.php.net/bug.php?id=74340 ?  
  > **username_0**: Thanks @username_2, the PHP version is 7.3. I will try do some testing to understand what is happening with `__get()`.  
  > **username_3**: I am getting this similar message right on our landing page and on every page from the Wordpress backend. Also, CiviCRM does not load the menus and the menu restore command does nothing. So at the moment, our administrative assistant cannot access the membership records, but it seems that our donation forms still load and can be submitted in spite of these messages displayed. Notice: Undefined property: CRM_Core_Config::$uploadDir in /home/gcmfor5/public_html/wp-content/plugins/civicrm/civicrm/CRM/Extension/System.php on line 87 Notice: Undefined property: CRM_Core_Config::$uploadDir in /home/  
  
  ---
  
  ## 0 answers
  
  