"The website encountered an unexpected error." after node published

Created on 22 November 2023, 7 months ago
Updated 23 November 2023, 7 months ago

after admin approved and published user's draft node, I got this blank screen with error :"The website encountered an unexpected error."

There are 2 error in the log:

Twig\Error\SyntaxError: Unknown "entity_url" filter in "__string_template__5f7f707cc2bdb94b27d5deff1af83eb7" at line 1. in Twig\ExpressionParser->getFilterNodeClass() (line 787 of /home/abc/public_html/vendor/twig/twig/src/ExpressionParser.php).

Drupal\Core\Entity\EntityStorageException: Unknown "entity_url" filter in "__string_template__5f7f707cc2bdb94b27d5deff1af83eb7" at line 1. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 817 of /home/abc/public_html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

I don't have this problem before I setup the Pathauto pattern for the node type, my pathauto pattern is :

case-study/[node:author:uid]/[node:title]

πŸ’¬ Support request
Status

Fixed

Version

10.1 ✨

Component
PathΒ  β†’

Last updated 6 days ago

  • Maintained by
  • πŸ‡¬πŸ‡§United Kingdom @catch
Created by

πŸ‡¬πŸ‡§United Kingdom freelylw

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

Comments & Activities

Production build 0.69.0 2024