Body: <p>All of a sudden, after doing a number of individual and organization contact imports, the import is erroring out on the second screen. I get a WordPress error that states:</p>
  <blockquote>
  <p>There has been a critical error on this website. Please check your site admin email inbox for instructions.</p>
  </blockquote>
  <p>The error log shows the following error:</p>
  <blockquote>
  <p>Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: Return
  value of CRM_Import_DataSource::getDataSourceMetadata() must be of the
  type array, null returned in
  [webroot]/wp-content/plugins/civicrm/civicrm/CRM/Import/DataSource.php:366</p>
  </blockquote>
  <p>Up until yesterday, I was able to do the normal importing process. I have no idea what changed. Please help so I can continue importing!</p>
  <p><code>System: CiviCRM 5.55.2/WordPress 6.0.3/PHP 7.4.33 on Ubuntu</code></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-11-28T15:22:57.643Z
Comments.Text: Did you update your PHP to 8.0?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-11-28T20:41:31.230Z
Comments.Text: @PradeepNayak not knowingly. Should be running on PHP 7.4. Is this an indicator of it running on 8?
Comments.UserDisplayName: Mark
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-11-28T21:16:53.347Z
Comments.Text: Confirmed - according the CiviCRM System Status page: `This system uses PHP version 7.4.33 which meets or exceeds the recommendation of 7.4.`
Comments.UserDisplayName: Mark
Tags: <wordpress><import>
Title: Uncaught TypeError on Import
ThreadText: # Uncaught TypeError on Import
  
  (Asked by: username_0 on 2022-11-28)
  
  All of a sudden, after doing a number of individual and organization contact imports, the import is erroring out on the second screen. I get a WordPress error that states:
  
  > There has been a critical error on this website. Please check your site admin email inbox for instructions.
  
  The error log shows the following error:
  
  > Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Return
  > value of CRM\_Import\_DataSource::getDataSourceMetadata() must be of the
  > type array, null returned in
  > [webroot]/wp-content/plugins/civicrm/civicrm/CRM/Import/DataSource.php:366
  
  Up until yesterday, I was able to do the normal importing process. I have no idea what changed. Please help so I can continue importing!
  
  `System: CiviCRM 5.55.2/WordPress 6.0.3/PHP 7.4.33 on Ubuntu`
  
  **Tags:** wordpress, import
  
  > **Comments:**
  > **username_1**: Did you update your PHP to 8.0?  
  > **username_0**: @PradeepNayak not knowingly. Should be running on PHP 7.4. Is this an indicator of it running on 8?  
  > **username_0**: Confirmed - according the CiviCRM System Status page: `This system uses PHP version 7.4.33 which meets or exceeds the recommendation of 7.4.`  
  
  ---
  
  ## 0 answers
  
  