- Issue created by @abdulaziz zaid
- Status changed to Needs review
over 1 year ago 2:09pm 30 July 2023 - Status changed to Fixed
over 1 year ago 9:07am 2 August 2023 - Status changed to Fixed
over 1 year ago 11:00am 2 August 2023
I have the error after going to the page /admin/content/private-messenger-message
TypeError: Drupal\private_messenger\Form\PrivateMesseng
?>erMessageForm::__construct(): Argument #1 ($entity_repository) must be of type Drupal\private_messenger\Form\EntityRepositoryInterface, Drupal\Core\Entity\EntityRepository given, called in /app/web/modules/contrib/private_messenger/src/Form/PrivateMessengerMessageForm.php on line 53 in Drupal\private_messenger\Form\PrivateMessengerMessageForm->__construct() (line 35 of /app/web/modules/contrib/private_messenger/src/Form/PrivateMessengerMessageForm.php)
1- After Enabling private messenger
2- go to /admin/content/private-messenger-message
3- Error.
Import the class.
Fixed
1.2
Code