Closed (fixed)
Project:
3D Flipbook
Version:
9.1.4-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Oct 2020 at 02:50 UTC
Updated:
29 Jul 2022 at 14:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
timkroehler commentedIs it possible that the Messenger code needs to be changed to this:
in src/Form/ChoosePDFStyleForm.php, line 88:
//MessengerInterface::addMessage('Changes Saved');should be:
\Drupal::messenger()->addMessage('Changes Saved');Comment #3
murugesan velu commentedI got the same error when I implement the flipbook module with my project
We need to change the code in src/Form/ChoosePDFStyleForm.php, line 88
MessengerInterface::addMessage('Changes Saved');
to
\Drupal::messenger()->addMessage('Changes Saved');
Comment #4
socialnicheguru commentedthis fix does work. patch?
Comment #5
socialnicheguru commentedComment #6
4kant commentedPatch works perfectly. Thanks
Comment #7
oheller commentedThe call should be refactored to us dependency injection. Drupal calls should be avoided in classes.
Comment #8
kushal bansal commentedIssue Fixed in release 9.1.4
Comment #9
kushal bansal commented