Answers.Body: <p>This issue fixed .. simply due to missing file in deployment.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-22T15:17:01.490Z
Answers.Text: Good to hear your problem is fixed.  Could you expand a bit on how the problem arose and what you did to fix it?
Answers.UserDisplayName: Aidan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-16T22:39:12.463Z
Answers.LastActivityDate: 2020-04-16T22:39:12.463Z
Answers.UserDisplayName: user7931
Body: <p>I have a problem enabling CiviCRM 5.24.2 after installation in Drupal 7.69 under PHP 7.2.27 under Centos7 Apache/2.4.6</p>
  
  <p>CiviCRM installs correctly using both UI and CV method - ie builds database &amp; civicrm.settings, but fails to enable (same error in both install methods).</p>
  
  <p><code>drush en -y civicrm</code> produces the following error (and breaks Drupal site): </p>
  
  <pre><code>WD php: Error: Class 'CRM_Extension_Info' not found in CRM_Extension_Mapper-&gt;keyToInfo()
  Error: Class &amp;#039;CRM_Extension_Info&amp;#039; not found in CRM_Extension_Mapper-&gt;keyToInfo() (line 170 of /srv/web/climatebonds.net/web/sites/all/modules/civicrm/CRM/Extension/Mapper.php).
  Drush command terminated abnormally due to an unrecoverable error.
  </code></pre>
  
  <p><code>drush dis -y civicrm</code> returns site to working order.</p>
  
  <p>No problems with installation under local environment: Apache/2.4.35 (Unix) PHP/7.2.19</p>
  
Tags: <drupal><installation>
Title: Error in Class CRM_Extension_Mapper 'Class CRM_Extension_Info not found' when installing 5.24 in Drupal 7
ThreadText: # Error in Class CRM_Extension_Mapper 'Class CRM_Extension_Info not found' when installing 5.24 in Drupal 7
  
  (Asked by: username_0 on 2020-04-11)
  
  I have a problem enabling CiviCRM 5.24.2 after installation in Drupal 7.69 under PHP 7.2.27 under Centos7 Apache/2.4.6
  
  CiviCRM installs correctly using both UI and CV method - ie builds database & civicrm.settings, but fails to enable (same error in both install methods).
  
  `drush en -y civicrm` produces the following error (and breaks Drupal site):
  
  ```
  WD php: Error: Class 'CRM_Extension_Info' not found in CRM_Extension_Mapper->keyToInfo()
  Error: Class &#039;CRM_Extension_Info&#039; not found in CRM_Extension_Mapper->keyToInfo() (line 170 of /srv/web/climatebonds.net/web/sites/all/modules/civicrm/CRM/Extension/Mapper.php).
  Drush command terminated abnormally due to an unrecoverable error.
  
  ```
  
  `drush dis -y civicrm` returns site to working order.
  
  No problems with installation under local environment: Apache/2.4.35 (Unix) PHP/7.2.19
  
  **Tags:** drupal, installation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-04-16. Score: 1
  
  This issue fixed .. simply due to missing file in deployment.
  
  > **Comments:**
  > **username_1**: Good to hear your problem is fixed.  Could you expand a bit on how the problem arose and what you did to fix it?  
  
  ---
  
  