If you use a field with a date type in your contenttypes.yml, and I access the data through /json/{ct} it throws an error:
There is a fatal error in the 'bolt/jsonapi' extension loaded on your Bolt Installation.
Error: Call to a member function format() on a non-object
File: extensions/vendor/bolt/jsonapi/Extension.php
Line: 992
Possible trouble: in jsonapi.bolt.yml there's value date-iso-8601: true, if I set it to false, the error disappears.
If you use a field with a date type in your
contenttypes.yml
, and I access the data through/json/{ct}
it throws an error:There is a fatal error in the 'bolt/jsonapi' extension loaded on your Bolt Installation. Error: Call to a member function format() on a non-object File: extensions/vendor/bolt/jsonapi/Extension.php Line: 992
Possible trouble: in
jsonapi.bolt.yml
there's valuedate-iso-8601: true
, if I set it to false, the error disappears.