smallrecords
smallrecords copied to clipboard
Error when save attribute's value
An error occurred when saving data in the attributes (October CMS v.2.2.10, SmallRecords v.3.14.0)
Call to a member function fill() on array" on line 87 of /public_html/modules/backend/traits/FormModelSaver.php
- Create and view saved data in the attributes with no problem.
Hi,
I do not use OC2 yet so can't test it right now - but add this to my todo list!
Thanks for issue.
Do you have a plan to upgrade to OC2?
Sure - when I have a time :)
Thank you very much for the great plugin! I'm really looking forward to the update.
In my opinion, you can watch this plugin (with a similar model), since it works in OC2
/plugins/ginopane/blogtaxonomy/models/PostType.php
Hi. I am experiencing the same issue while trying to save the attributes - OC2. Any solution on this? Thank you in advance!
Any solution on this?
It still doesn't work! I'm using Notes now instead of attributes
Hi again!
Think this issue was fixed on backend. I can now add attributes. However, displaying attributes is not working. This code didn't work:
{% for attribute in record.attributes %}
{{ attribute.name }} : {{ attribute.value }}
{% endfor %}
Any suggestions to workaround with this? Thank you!
Try to dump values of record
object with Twig Dump or other plugin.
Or you can try to use original RecordDetail component to render all record's data.