New block type -> save returns doctrine code

Permalink
Hello,

I'm devoloping a new block type.
When I try to use the save() in controller, I get an error. But the error message shows only a piece of PHP code. With some digging I found that it code from the dcotrine AbstractMySQLdriver from the upgrade folder....

See attached figure. I don't suffer from this issue if I save settings for any built in blocks.
Can somebody shine a light on this?

Thanks

1 Attachment

 
hutman replied on at Permalink Reply
hutman
If you open your Developer Console in Chrome and look at the Network tab as you click Save it should show you the error that's causing the problem.
wdegeus replied on at Permalink Reply
Thank you very much!

That led me to the (stupid) parameter name error I made.
But is it normal that this error (it basically was an table not found error) is not directly thrown, but the exception handler itself is shown?
hutman replied on at Permalink Reply
hutman
That's what happens to me pretty much every time. I don't know that it's what should happen, but it's what does happen.
mlocati replied on at Permalink Reply
mlocati
This issue has been fixed byhttps://github.com/concrete5/concrete5/pull/6713... (which is included in concrete5 8.4.0+)