spicywebau / craft-neo

A Matrix-like field type for Craft CMS that uses existing fields
Other
402 stars 63 forks source link

Javascript Error When Trying to Add a Block in Neo #879

Closed brianrivet-tilt closed 5 months ago

brianrivet-tilt commented 5 months ago

Bug Description

When I try to add a block to a Neo field in the control panel I get a spinner and an error in the javascript console. The response that comes into axios is: "name": "PHP Warning", "message": "Undefined array key 0", "code": 2

If you cannot re-create, I can send a backup and composer files.

Steps to reproduce

  1. Try to add a new block

Expected behaviour

No response

Neo version

4.1.2

Craft CMS version

4.8.9

What is the affected Neo field's propagation method?

No response

Does this issue involve templating, and if so, is eager-loading used?

This is not a templating issue

ttempleton commented 5 months ago

Could you please send the DB backup and composer files to plugins@spicyweb.com.au along with information about an entry where this is happening, and we'll have a look.

ttempleton commented 5 months ago

Thanks for sending the files. This error turned out to be caused by the Colour Swatches plugin, and was fixed in version 4.5.1 of that plugin.