Closed pixeline closed 2 years ago
found it: the tags_id is stored in the db as a VARCHAR, so the mapper was (rightly) complaining about me trying to stuff it with an array.
Adding this line before the copyfrom
operation solved it:
$f3->set('POST.tags_id', implode(',', $f3->get('POST.tags_id')));
When updating to php 8.1, (using F3 version 3.8) I get this error: "Array to string conversion" pointing at the
copyfrom
line here below.Sample data sent via the form:
I do not understand what is wrong, can you help me ? Full trace: