breaks the site :-(

Created on 27 February 2023, almost 2 years ago
Updated 3 April 2024, 9 months ago

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

https://feb27.lowestoftoldandnow.org

💬 Support request
Status

Postponed: needs info

Version

2.2

Component

Code

Created by

🇬🇧United Kingdom artatac

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

Comments & Activities

Production build 0.71.5 2024