- Issue created by @artatac
- Status changed to Postponed: needs info
8 months ago 5:42pm 3 April 2024
after installing this via composer the site breaks and I get the following message
The website encountered an unexpected error. Please try again later.
ParseError: syntax error, unexpected '|', expecting ';' or '{' in Composer\Autoload\includeFile() (line 28 of modules/contrib/smart_date/src/Normalizer/SmartDateItemNormalizer.php).
Composer\Autoload\includeFile('/home/lowestoftoldnow/feb27.lowestoftoldandnow.org/modules/contrib/smart_date/src/Normalizer/SmartDateItemNormalizer.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Drupal\smart_date\Normalizer\SmartDateItemNormalizer')
spl_autoload_call('Drupal\smart_date\Normalizer\SmartDateItemNormalizer') (Line: 262)
Drupal\Component\DependencyInjection\Container->createService(Array, 'private__1a5fgAdbSpke3ubEoUkkzJPFr2tUISgp5JlEcMEL2oY') (Line: 452)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 465)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 240)
Drupal\Component\DependencyInjection\Container->createService(Array, 'serializer') (Line: 176)
Drupal\Component\DependencyInjection\Container->get('serializer', 1) (Line: 437)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 240)
Drupal\Component\DependencyInjection\Container->createService(Array, 'rest.resource_response.subscriber') (Line: 176)
Drupal\Component\DependencyInjection\Container->get('rest.resource_response.subscriber') (Line: 136)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.response') (Line: 191)
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1) (Line: 179)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 144)
Drupal\lite_speed_cache\StackMiddleware\LiteSpeedCache->pass(Object, 1, 1) (Line: 116)
Drupal\lite_speed_cache\StackMiddleware\LiteSpeedCache->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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
help please lol
Postponed: needs info
2.2
Code