You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working with the Statamic CMS, I have a situation where an exception is being thrown in the context of rendering an antler tag. The problem is that the stack trace (in part) begins like this:
[object] (Spatie\LaravelIgnition\Exceptions\ViewException(code: 0): Cannot access offset of type Statamic\Sites\Site in isset or empty at ~\resources\views/categories/index.antlers.html:5)
[stacktrace]
#0 ~\resources\views/categories/index.antlers.html(5): ()
#1 ~\vendor\statamic\cms\src\Taxonomies\Term.php(281): Illuminate\Support\Collection->offsetExists(Object(Statamic\Sites\Site))
#2 ~\vendor\statamic\cms\src\Taxonomies\LocalizedTerm.php(77): Statamic\Taxonomies\Term->dataForLocale(Object(Statamic\Sites\Site))
#3 ~\vendor\statamic\cms\src\Taxonomies\LocalizedTerm.php(96): Statamic\Taxonomies\LocalizedTerm->data()
#4 ~\vendor\statamic\cms\src\Taxonomies\AugmentedTerm.php(21): Statamic\Taxonomies\LocalizedTerm->values()
Note, in particular, the first frame of the stack trace. No method name was resolved from the template. Ergo, when I try to 'share' the stack trace, the below is sent as the first item in the report.stacktrace field:
Working with the Statamic CMS, I have a situation where an exception is being thrown in the context of rendering an antler tag. The problem is that the stack trace (in part) begins like this:
Note, in particular, the first frame of the stack trace. No method name was resolved from the template. Ergo, when I try to 'share' the stack trace, the below is sent as the first item in the
report.stacktrace
field:The sharing API rejects this:
This validation appears to be too strict?
The text was updated successfully, but these errors were encountered: