Error: Cannot access protected property Drupal\bat_event\Entity\EventType::$target_entity_type in Drupal\bat_api\Plugin\ServiceDefinition\UnitIndex->processRequest() (line 113 of /var/www/html/myDev/web/modules/contrib/bat_api/src/Plugin/ServiceDefinition

Created on 12 May 2020, almost 5 years ago
Updated 23 October 2023, over 1 year ago

hi.. i have an error isue on dev, what this mean;
Error: Cannot access protected property Drupal\bat_event\Entity\EventType::$target_entity_type in Drupal\bat_api\Plugin\ServiceDefinition\UnitIndex->processRequest() (line 113 of /var/www/html/myDev/web/modules/contrib/bat_api/src/Plugin/ServiceDefinition/UnitIndex.php)

#0 /var/www/html/myDev/web/modules/contrib/services/src/Controller/Services.php(68): Drupal\bat_api\Plugin\ServiceDefinition\UnitIndex->processRequest(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch), Object(Symfony\Component\Serializer\Serializer))
#1 [internal function]: Drupal\services\Controller\Services->processRequest(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch), 'bat_api', 'unit_index:cale...')
#2 /var/www/html/myDev/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#3 /var/www/html/myDev/web/core/lib/Drupal/Core/Render/Renderer.php(573): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#4 /var/www/html/myDev/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#5 /var/www/html/myDev/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#6 /var/www/html/myDev/vendor/symfony/http-kernel/HttpKernel.php(151): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#7 /var/www/html/myDev/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇲🇾Malaysia nor sairi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024