Answer the question
In order to leave comments, you need to log in
How to solve the problem with saving json field?
Structure:
Method with an error in Models\Product.php
The error itself:
The problem is with the attributes field, if you comment it out, everything is ok.
But at the same time, even if you set it to 1, for example, you still get the same error ...
Moreover, if you put this method in the controller, then everything works
Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question