899 User Settings are displayed with "Notice: Undefined variable: user in Drupal"
Updated by Anonymous (not verified) on 02-May-23
899 User Settings are displayed with "Notice: Undefined variable: user in Drupal"
[email protected] added a feedback(#2623488) from https://app.greatalbum.net/user/460/edit:
Steps to reproduce:
1. Go to the User Settings
2. Validate the screen
Expected Result: The error is missing.
Actual Result: The following error message is displayed:
"Notice: Undefined variable: user in Drupal\google_photos_importer\Controller\GooglePhotosImporterController->syncAlbums() (line 569 of modules/custom/google_photos_importer/src/Controller/GooglePhotosImporterController.php).
Drupal\google_photos_importer\Controller\GooglePhotosImporterController->syncAlbums()
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber
{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber
{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)"
Session details:
- Feedback ID: #2623488
- Browser: Chrome 111.0.0.0 (macOS)
- Rating: N/A
- Window Size: 986 x 783
- Resolution: 1440 x 900
- DPI: 1
- Colour Depth: 24-bit
- Category: User/Member/Profile
View feedback details in Userback:
https://app.userback.io/viewer/36775/71541/2623488Jbfo4y97/
Related Discussions
Related Activities
Activity | Points | Created |
---|---|---|
created 899 User Settings are displayed with "Notice: Undefined variable: user in Drupal" issue related to GreatAlbum Guide | 10 | 05/02/2023 - 05:33 |