From 7ca9b4a7d3ec4a818ffa8e6de740dbc0a80d1cda Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 5 Nov 2018 09:23:04 +0100 Subject: [PATCH] TASK: Add info about how to show helpful error messages --- Documentation/source/AddFirstPlugin.rst | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/source/AddFirstPlugin.rst b/Documentation/source/AddFirstPlugin.rst index dc8328a..2cb2a24 100644 --- a/Documentation/source/AddFirstPlugin.rst +++ b/Documentation/source/AddFirstPlugin.rst @@ -72,8 +72,16 @@ Write necessary Code Remove all PHP Errors, step by step. -If we insert the plugin as content element and open the site, we should see the -following error message: +If we insert the plugin as content element and open the site, we should see an error +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