Problem/Motivation

  1. Fix an Internal Server Error: Call to a member function id() on null in aws_cloud_entity_operation()
    Error: Call to a member function id() on null in aws_cloud_entity_operation() (line 796 of /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/aws_cloud/aws_cloud.module)
    #0 [internal function]: aws_cloud_entity_operation(Object(Drupal\aws_cloud\Entity\Ec2\Instance))
    #1 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array('aws_cloud_entit...', Array)
    #2 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityListBuilder.php(112): Drupal\Core\Extension\ModuleHandler->invokeAll('entity_operatio...', Array)
    #3 /var/www/html/web/modules/contrib/cloud/src/Controller/CloudContentListBuilder.php(122): Drupal\Core\Entity\EntityListBuilder->getOperations(Object(Drupal\aws_cloud\Entity\Ec2\Instance))
    #4 /var/www/html/web/core/modules/views/src/Plugin/views/field/EntityOperations.php(131): Drupal\cloud\Controller\CloudContentListBuilder->getOperations(Object(Drupal\aws_cloud\Entity\Ec2\Instance))
    #5 /var/www/html/web/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1156): Drupal\views\Plugin\views\field\EntityOperations->render(Object(Drupal\views\ResultRow))
CommentFileSizeAuthor
#2 3178397-2.patch750 bytesyas

Comments

yas created an issue. See original summary.

yas’s picture

Status: Active » Needs review
StatusFileSize
new750 bytes
yas’s picture

Status: Needs review » Reviewed & tested by the community

@all

I'll merge the patch to 8.x-1.x, 8.x-2.x and 3.x and close this issue as Fixed.

  • yas committed 64a70ca on 8.x-1.x
    Issue #3178397 by yas: Fix an Internal Server Error: Call to a member...

  • yas committed f58615f on 8.x-2.x
    Issue #3178397 by yas: Fix an Internal Server Error: Call to a member...

  • yas committed 77314f9 on 3.x
    Issue #3178397 by yas: Fix an Internal Server Error: Call to a member...
yas’s picture

Status: Reviewed & tested by the community » Fixed
yas’s picture

Title: Fix an Internal Server Error: Call to a member function id() on null in aws_cloud_entity_operation() » Fix an Internal Server Error: Call to a member function id() on null in aws_cloud_entity_operation() (AWS Cloud Instance)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.