Thanks for all Tilmann!
The error was the simple insert query!
The cads_category__new function, was created successfully with the error instead! It's normal?
Anyway, i drop it and create it again.
Before i remove it, i tried to view the error again in the error.log file but the result was the same that i obtain through the browser.
Tanks again for all,
Pol Vilarmau