Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
While accessing the eForm Submission, we got this Fatal Error. This is different error than the one listed in other issues.
Can you please resolve this asap?
Fatal error: Declaration of Drupal\eform\EFormSubmissionAccessControlHandler::access() must be compatible with Drupal\Core\Entity\EntityAccessControlHandlerInterface::access(Drupal\Core\Entity\EntityInterface $entity, $operation, Drupal\Core\Session\AccountInterface $account = NULL, $return_as_object = false) in C:\wamp\www\iimisac-d8\modules\eform\src\EFormSubmissionAccessControlHandler.php on line 17
Thanks
Ashish Naik
Comment | File | Size | Author |
---|---|---|---|
#7 | eform_removed_language_2667468_7_8.x-1.x-dev.patch | 2.91 KB | sagesolutions |
#3 | eform_removed_language_2667468_3_8.x-1.x-dev.patch | 2.6 KB | sagesolutions |
Comments
Comment #2
sagesolutions CreditAttribution: sagesolutions commentedI am also having this error.
Comment #3
sagesolutions CreditAttribution: sagesolutions commentedThe EFormSubmissionAccessControlHandler was updated and the Language stuff was removed. Attached is a patch that works for me.
Comment #4
tedbow@sagesolutions thanks for the patch. It probably works but....
The patch doesn't apply because it starts from ../contrib
could you please update the patch and I will commit it?
Patch handbook page https://www.drupal.org/node/707484
thanks
Comment #5
tedbowComment #6
tedbow@sagesolutions I committed some changes to 8.x-1-dev can you check if the problem is fixed.
Comment #7
sagesolutions CreditAttribution: sagesolutions commentedHi @tedbow,
I see that 1/2 of the patch was applied. I was still getting the strict warning issues, so I created another patch. It works for me, but please test.
Thanks!
P.S. my sublime text editor changed the spaces to tabs... I couldn't figure out how to undo that. sorry!
Comment #8
killua99 CreditAttribution: killua99 commented@sagesolutions Read this post to setup right Sublime Text for Drupal Code Standard. https://www.drupal.org/node/1346890
Because is hard to follow the change.