TASK: Add info about how to show helpful error messages
This commit is contained in:
parent
ca8197a4de
commit
7ca9b4a7d3
1 changed files with 10 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue