Want help? See Click Issue Views help topic.

892 Deleting the Album redirects to the 500 error

Created by Anonymous on 14-Apr-23
Updated by Anonymous (not verified) on 14-Apr-23

892 Deleting the Album redirects to the 500 error

Problem/Limitation Description

[email protected] added a feedback(#2563423) from https://app.greatalbum.net/album/210/edit:


Steps to reproduce:

1. Navigate to the Album
2. Press "Edit" button
3. Click on "Delete" button
4. Validate the process


Expected Result: The album is deleted

Actual Result: The following error is displayed:
"The website encountered an unexpected error. Please try again later.
Error: Call to a member function id() on null in Drupal\great_custom\Form\DeleteGroupContentConfirmationForm->getAdditionalGroups() (line 110 of modules/custom/greatalbum_admin/src/Form/DeleteGroupContentConfirmationFormTrait.php).
Drupal\great_custom\Form\DeleteGroupContentConfirmationForm->getAdditionalGroups(Object, Object) (Line: 41)
Drupal\great_custom\Form\DeleteGroupContentConfirmationForm->addStat(Array, Object) (Line: 45)
Drupal\great_custom\Form\DeleteGroupContentConfirmationForm->buildForm(Array, Object, Object)
call_user_func_array(Array, Array) (Line: 532)
Drupal\Core\Form\FormBuilder->retrieveForm('great_custom_group_flexible_group_delete_form', Object) (Line: 278)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 91)
Drupal\Core\Controller\FormController->getContentResult(Object, Object) (Line: 39)
Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult(Object, Object)
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)"

Attachment: https://static.userback.io/57763/project/71541/feedback/2563423/attachment/__________________________2023_04_14____09.38.01.png

Session details:

  • Feedback ID: #2563423
  • Browser: Chrome 111.0.0.0 (macOS)
  • Rating: N/A
  • Window Size: 1389 x 796
  • Resolution: 1440 x 900
  • DPI: 1
  • Colour Depth: 24-bit
  • Category: Album

View feedback details in Userback:
https://app.userback.io/viewer/36775/71541/25634233JjBlK1f/

Issue Status

Related Discussions

“No discussions related to this issue”

Related Activities

Activity Points Created
created 892 Deleting the Album redirects to the 500 error issue related to GreatAlbum Guide 10 04/14/2023 - 02:39