Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when using Antlers #252

Open
o1y opened this issue Jan 9, 2023 · 0 comments
Open

Exception when using Antlers #252

o1y opened this issue Jan 9, 2023 · 0 comments

Comments

@o1y
Copy link
Contributor

o1y commented Jan 9, 2023

Bug description

An exception is thrown when using Antlers in the SEO field with configured custom collection routes.
Here is the Stacktrace: https://flareapp.io/share/W7zb8487#F91

How to reproduce

  1. In Site Settings set a Custom description with the following Value: {{ content | strip_tags | truncate:250:... }}
  2. Configure your collection route to something different than the default value. Some examples:
  • route: /{id}
  • route: /{parent_uri}/{slug}.html

Or am I doing something wrong? 🤔

Environment

Environment
Application Name: Statamic
Laravel Version: 9.46.0
PHP Version: 8.1.10
Composer Version: 2.4.1
Environment: local
Debug Mode: ENABLED
URL: localhost
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Statamic
Addons: 1
Antlers: regex
Stache Watcher: Enabled
Static Caching: Disabled
Version: 3.3.64 Solo

Statamic Addons
statamic/seo-pro: 3.1.3

Installation

Fresh statamic/statamic site via CLI

Antlers Parser

regex and runtime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant