I am experiencing something probably very stupid and I hope easily solveable.
Here is the code: https://pastebin.com/KsCynBis
When I edit an object, and when I write a description shorter than 300 characters on purpose, after I try to save it , I get error like this :
Warning: Missing argument 1 for ObjectsController::editAction()
I am probably sending the $id variable in a wrong way, but which is right? Thanks in advance :)