I have got a Joomla website running CiviCRM version 5.41.2 and we are migrating to a WordPress website running CiviCRM version 5.60.0
I have backed up the Joomla site and working on a dev environment have got this running. I've upgraded CiviCRM to 5.60.0 and then started the database upgrade (following a successful component upgrade) but am getting the following fatal error:
( ! ) Fatal error: Declaration of
CRM_Custom_Import_Form_Summary::preProcess() must be compatible with
CRM_Contact_Import_Form_Summary::preProcess(): void in
C:\wamp64\www\iimhl\administrator\components\com_civicrm\civicrm\CRM\Custom\Import\Form\Summary.php on line 13
If I look at the file mentioned on line 13, is as follows:
public function preProcess() {
parent::preProcess();
$session = CRM_Core_Session::singleton();
$session->pushUserContext(CRM_Utils_System::url('civicrm/import/custom', 'reset=1'));
}