ParseError: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ',' or ')' in Composer\Autoload\{closure}() (line 101 of modules/contrib/sendgrid/src/SendgridHandler.php)

Created on 8 May 2024, about 2 months ago
Updated 13 May 2024, about 1 month ago

Error when Testing Email on Drupal 8.9.2

The website encountered an unexpected error. Please try again later.
ParseError: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ',' or ')' in Composer\Autoload\{closure}() (line 101 of modules/contrib/sendgrid/src/SendgridHandler.php).

Composer\Autoload\{closure}('/home/kinokuniyac8/public_html/modules/contrib/sendgrid/src/SendgridHandler.php') (Line: 427)
Composer\Autoload\ClassLoader->loadClass('Drupal\sendgrid\SendgridHandler')
spl_autoload_call('Drupal\sendgrid\SendgridHandler') (Line: 259)
Drupal\Component\DependencyInjection\Container->createService(Array, 'sendgrid.mail_handler') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('sendgrid.mail_handler') (Line: 72)
Drupal\sendgrid\Form\TestEmailForm::create(Object) (Line: 28)
Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition('\Drupal\sendgrid\Form\TestEmailForm') (Line: 48)
Drupal\Core\Controller\HtmlFormController->getFormObject(Object, '\Drupal\sendgrid\Form\TestEmailForm') (Line: 76)
Drupal\Core\Controller\FormController->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: 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)
💬 Support request
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

🇮🇩Indonesia drupalnesia

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

Comments & Activities

Production build 0.69.0 2024