TASK: Add info about how to show helpful error messages

This commit is contained in:
Daniel Siepmann 2018-11-05 09:23:04 +01:00
parent ca8197a4de
commit 7ca9b4a7d3
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -72,8 +72,16 @@ Write necessary Code
Remove all PHP Errors, step by step. Remove all PHP Errors, step by step.
If we insert the plugin as content element and open the site, we should see the If we insert the plugin as content element and open the site, we should see an error
following error message: message. This message is not helpful, so we will switch to development context within
the installation / maintenance tool. Also we will add the following TypoScript setup
for our local development instance:
.. code-block:: typoscript
config.contentObjectExceptionHandler = 0
Afterwards we should see the following error message:
Could not analyse class: "Workshop\\ExampleExtension\\Controller\\ExampleController" maybe not loaded or no autoloader? Class Workshop\\ExampleExtension\\Controller\\ExampleController does not exist Could not analyse class: "Workshop\\ExampleExtension\\Controller\\ExampleController" maybe not loaded or no autoloader? Class Workshop\\ExampleExtension\\Controller\\ExampleController does not exist