Starting with v3.5 (which Set WP_CONTENT_DIR properly), I'm getting the following error when trying to access certain plugins:
There has been a critical error on your website. Please check your site admin email inbox for instructions.
Logs show the following:
Jan 23 21:43:56[Wed Jan 24 02:43:56.407127 2024] [php:warn] [pid 74] [client xx.123.123.123:12345] 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/edit.php?post_status=trash&post_type=job_listing
Jan 23 21:43:56[Wed Jan 24 02:43:56.411223 2024] [php:warn] [pid 74] [client xx.123.123.123:12345] 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/edit.php?post_status=trash&post_type=job_listing
Jan 23 21:43:56[Wed Jan 24 02:43:56.411285 2024] [php:warn] [pid 74] [client xx.123.123.123:12345] 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/edit.php?post_status=trash&post_type=job_listing
Jan 23 21:43:56[Wed Jan 24 02:43:56.414471 2024] [php:warn] [pid 74] [client xx.123.123.123:12345] 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/edit.php?post_status=trash&post_type=job_listing
Jan 23 21:43:56[Wed Jan 24 02:43:56.414568 2024] [php:warn] [pid 74] [client xx.123.123.123:12345] 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/edit.php?post_status=trash&post_type=job_listing
Jan 23 21:43:56[Wed Jan 24 02:43:56.414577 2024] [php:warn] [pid 74] [client xx.123.123.123:12345] 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/edit.php?post_status=trash&post_type=job_listing
Jan 23 21:43:56[Wed Jan 24 02:43:56.544910 2024] [php:error] [pid 74] [client xx.123.123.123:12345] 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/edit.php?post_status=trash&post_type=job_listing
Jan 23 21:43:56xx.123.123.123 - - [24/Jan/2024:02:43:56 +0000] "GET /wp-admin/post.php?post=544&action=edit HTTP/1.1" 500 2672 "https://example.com/wp-admin/edit.php?post_status=trash&post_type=job_listing" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6.1 Safari/605.1.15"
Would setting WP_CONTENT_DIR
properly affect these plugins?