Hello,
I am trying to code my first form in D8, by editing the fapi example module. Since 2 days...
During those days I had to figure out what was wrong all by myself : I only got :
"This website encountered an error. Try again later"
Is there any way to get more specific error messages ?

Comments

nitin.k’s picture

D8 is very sensitive about the errors, so be careful about the code.
While editing the fapi exxample module, first please try to understand the complete code of that module than start coding.

Anyway if you are getting the error first undo the changes and after that go to reports , you will find those in admin interface, there go to recent log messages and you will see the log of the error by which your code was broken.

Analyze the error and fix it.

--Nitin

artatum’s picture

I finally found that I had unwanted values in mymodule.links.menu.yml, but it was long and boring :(
Thx for the advice anyway.