Want help? See Click Issue Views help topic.

944 Import Google Photos > 'Undefined variable' error message is displayed

Created by Anonymous on 18-Oct-23
Updated by Anonymous (not verified) on 18-Oct-23

944 Import Google Photos > 'Undefined variable' error message is displayed

Problem/Limitation Description

[email protected] added a feedback(#3057232) from https://team.greatalbum.net/group/686/media:


Steps to reproduce:
1. Navigate to the Album>Media
2. Click on the 'Import Google Photos'> By Album
3. Uncheck the 'Auto-create events'
4. Select an album and hit 'Import Google Photos'
5. Validate the Media page

Expected Result: The error message is missing.
Actual Result: The 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: #3057232
  • Browser: Chrome 118.0.0.0 (Windows)
  • Rating: N/A
  • Window Size: 1920 x 1080
  • Resolution: 1536 x 864
  • DPI: 1.13
  • Colour Depth: 24-bit
  • Category: Google Photos

View feedback details in Userback:
https://app.userback.io/viewer/36775/71541/3057232HjgHsn7A/

Issue Status

Related Discussions

“No discussions related to this issue”

Related Activities

Activity Points Created
created 944 Import Google Photos > 'Undefined variable' error message is displayed issue related to GreatAlbum Guide 10 10/18/2023 - 09:54