Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By artatum on
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
form error..
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
I finally found that I had
I finally found that I had unwanted values in mymodule.links.menu.yml, but it was long and boring :(
Thx for the advice anyway.
Artatum
www.ixxi-mobility.com