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.
[Thu Jul 21 13:00:14.457554 2016] [:error] [pid 8174] [client ::1:59914] PHP Fatal error: Class 'Drupal\\logintoboggan\\Access\\LogintobogganValidateAccess' not found in core/lib/Drupal/Component/DependencyInjection/Container.php on line 264
Comment | File | Size | Author |
---|---|---|---|
#4 | logintoboggan-fix_methods_compatible-2770367-4.patch | 46.11 KB | myLies |
#3 | logintoboggan-fix_directory_hierarchy-2770367-3.patch | 45.77 KB | myLies |
Comments
Comment #2
myLies CreditAttribution: myLies as a volunteer commentedThe error coming in install process from admin UI
I removed folders Access, Controller, Form, Plugin from lib folder and moved them to src folder
and this fixed this problem
but now we have next problem
Declaration of Drupal\\logintoboggan\\Form\\LogintobogganSettingsForm::submitForm() must be compatible with Drupal\\Core\\Form\\FormInterface::submitForm(array &$form, Drupal\\Core\\Form\\FormStateInterface $form_state)
This also relates to methods buildForm and validateForm
Looks like $form_state in method properties must be a FormStateInterface, but not a array
Comment #3
myLies CreditAttribution: myLies as a volunteer commentedand here is a patches
logintoboggan-fix_directory_hierarchy-2770367-3.patch - just fix directory hierarchy
Comment #4
myLies CreditAttribution: myLies as a volunteer commentedlogintoboggan-fix_methods_compatible-2770367-4.patch - this fix directory hierarchy and method compatible error
Comment #5
myLies CreditAttribution: myLies as a volunteer commented