PHP Error when deleting

Created on 6 September 2024, 3 months ago

Problem/Motivation

Running php 8.2, i get this error when trying to delete a node that has been pulled from SalesForce:

Deprecated: Creation of dynamic property Drupal\salesforce_mapping_ui\Form\MappedObjectDeleteForm::$eventDispatcher is deprecated in /var/www/html/web/modules/contrib/salesforce/modules/salesforce_mapping_ui/src/Form/MappedObjectDeleteForm.php on line 29

Steps to reproduce

From the SalesForce admin page,
/admin/content/salesforce/

trying deleting a mapped object throws that error. The same applies when viewing a mapped object and then going to the delete link:

/admin/content/salesforce/[mapped_object_id]/delete

I'll try moving to the dev version, if not will try providing a patch.

🐛 Bug report
Status

Needs review

Version

5.1

Component

salesforce_mapping_ui.module

Created by

🇫🇮Finland joey-santiago

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024