Open danielsiemers opened 5 days ago
This is a little tricky to debug without knowing what your content structure looks like.
Can you comment on what your Vizy field setup looks like? And in particular, what the content side of things looks like for an entry you're trying to save? I have been testing a few different Vizy setups, including nested Vizy fields. A screenshot or two would be amazing.
Thanks for coming back so quickly.
Attached is a screenshot of some example content in Vizy fields causing this issue. I've also included the Yaml for the field structure.
Additionally, plugins that we are using for the fields in here include Hyper, Formie and nested Vizy blocks. They are all running the latest Craft 4 versions
Please let me know if you think any other info might be helpful here, thanks!
Describe the bug
We are having issues with search indexes being updated for entries that contain Vizy fields, making it hard to search for specific keywords around the site.
We have created a Vizy field and checked "Use this field’s values as search keywords".
We are however getting issues now when saving this field. We are having issues in 2 ways.
error: Array to string conversion
php craft resave/entries --update-search-index
a large number of pages returns this same error.Steps to reproduce
php craft resave/entries --update-search-index
and you should see a red error when trying to save this entry.Craft CMS version
4.10.2
Plugin version
2.1.19
Multi-site?
Yes
Additional context
It seems to be related to Vizy fields that have nested blocks within them. When these blocks are removed rerunning the --update-search-index command works fine and there are no errors.