Answers.Body: <p>I know you said drupal but that url is joomla, so I think this is that joomla issue where you have to delete the civi code folder completely and replace it with the new version, but that isn't natively how joomla works, so you still have code files from the earlier version in the tree. The file CRM/Custom/Import/Form/Summary.php no longer exists in 5.54 but it's still there in your files and getting in the way.</p>
  <p>I'd start by just deleting/renaming that file and see how it goes.</p>
  <p>See also the last paragraph in this section: <a href="https://docs.civicrm.org/sysadmin/en/latest/upgrade/joomla/#install-the-extension" rel="nofollow noreferrer">https://docs.civicrm.org/sysadmin/en/latest/upgrade/joomla/#install-the-extension</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-15T18:37:20.070Z
Answers.Text: That fixed it - thanks so much :-)
Answers.UserDisplayName: Jonathan Richardson
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-15T18:13:52.287Z
Answers.LastActivityDate: 2022-12-15T18:13:52.287Z
Answers.UserDisplayName: Demerit
Body: <p>When trying to send an individual mail I get a 500 error
  POST /administrator/?option=com_civicrm&amp;task=civicrm/activity/email/add&amp;action=add&amp;cid=7070&amp;selectedChild=activity&amp;atype=3&amp;snippet=json&amp;crmAngularModules=af,afCore,afsearchGrants,angularFileUpload,api4,checklist-model,crmDialog,crmResource,crmSearchDisplay,crmSearchDisplayTable,crmSearchTasks,crmUi,crmUtil,dialogService,ngSanitize,ui.bootstrap,ui.sortable HTTP/1.0</p>
  <p>and a PHP error
  AH01071: Got error 'PHP message: PHP Fatal error: Declaration of CRM_Custom_Import_Form_Summary::preProcess() must be compatible with CRM_Contact_Import_Form_Summary::preProcess(): void in /var/www/vhosts/springsdancecompany.org.uk/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Custom/Import/Form/Summary.php on line 13', referer: <a href="https://springsdancecompany.org.uk/administrator/?option=com_civicrm&amp;task=civicrm/contact/view&amp;reset=1&amp;cid=7070" rel="nofollow noreferrer">https://springsdancecompany.org.uk/administrator/?option=com_civicrm&amp;task=civicrm/contact/view&amp;reset=1&amp;cid=7070</a></p>
  <p>Running  5.54.0 on Joomla 3.10 (at present due to errors I am unable to upgrade further)</p>
  <p>Problems seemed to start with 5.54.0 upgrade and what I presume is the move of afforms into the core product</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-12-16T23:32:47.790Z
Comments.Text: You can mark it "fixed" by clicking the checkmark to the left of the answer, under the up-down arrows.  That also prevents stackexchange from reposting this periodically as unsolved.
Comments.UserDisplayName: Demerit
Tags: <civimail><joomla>
Title: (Fixed) CRM_Custom_Import_Form_Summary error when sending one of email
ThreadText: # (Fixed) CRM_Custom_Import_Form_Summary error when sending one of email
  
  (Asked by: username_0 on 2022-12-15)
  
  When trying to send an individual mail I get a 500 error
  POST /administrator/?option=com\_civicrm&task=civicrm/activity/email/add&action=add&cid=7070&selectedChild=activity&atype=3&snippet=json&crmAngularModules=af,afCore,afsearchGrants,angularFileUpload,api4,checklist-model,crmDialog,crmResource,crmSearchDisplay,crmSearchDisplayTable,crmSearchTasks,crmUi,crmUtil,dialogService,ngSanitize,ui.bootstrap,ui.sortable HTTP/1.0
  
  and a PHP error
  AH01071: Got error 'PHP message: PHP Fatal error: Declaration of CRM\_Custom\_Import\_Form\_Summary::preProcess() must be compatible with CRM\_Contact\_Import\_Form\_Summary::preProcess(): void in /var/www/vhosts/springsdancecompany.org.uk/httpdocs/administrator/components/com\_civicrm/civicrm/CRM/Custom/Import/Form/Summary.php on line 13', referer: <https://springsdancecompany.org.uk/administrator/?option=com_civicrm&task=civicrm/contact/view&reset=1&cid=7070>
  
  Running 5.54.0 on Joomla 3.10 (at present due to errors I am unable to upgrade further)
  
  Problems seemed to start with 5.54.0 upgrade and what I presume is the move of afforms into the core product
  
  **Tags:** civimail, joomla
  
  > **Comments:**
  > **username_1**: You can mark it "fixed" by clicking the checkmark to the left of the answer, under the up-down arrows.  That also prevents stackexchange from reposting this periodically as unsolved.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-12-15. Score: 2 | Accepted answer
  
  I know you said drupal but that url is joomla, so I think this is that joomla issue where you have to delete the civi code folder completely and replace it with the new version, but that isn't natively how joomla works, so you still have code files from the earlier version in the tree. The file CRM/Custom/Import/Form/Summary.php no longer exists in 5.54 but it's still there in your files and getting in the way.
  
  I'd start by just deleting/renaming that file and see how it goes.
  
  See also the last paragraph in this section: <https://docs.civicrm.org/sysadmin/en/latest/upgrade/joomla/#install-the-extension>
  
  > **Comments:**
  > **username_0**: That fixed it - thanks so much :-)  
  
  ---
  
  