Skip to content

Commit 9a3fe07

Browse files
github-actions[bot]franzholzlinawolf
authored
[Backport 13.4] add hint about installing extensions to Troubleshooting (#5995)
* add hint about installing extensions to Troubleshooting Sometimes a class is missing. The user should get a hint how he must solve this problem. * Update Index.rst --------- Co-authored-by: Franz Holzinger <[email protected]> Co-authored-by: Lina Wolf <[email protected]>
1 parent f9aa55e commit 9a3fe07

File tree

1 file changed

+14
-5
lines changed
  • Documentation/ApiOverview/Autoloading

1 file changed

+14
-5
lines changed

Documentation/ApiOverview/Autoloading/Index.rst

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,25 @@ Loading classes with Composer mode
5858

5959
In Composer mode, the autoloader checks for (classmap and `PSR-4`) autoloading
6060
information inside your extension's :file:`composer.json`. If you do not provide
61-
any information, the autoloader falls back to the classmap autoloading like in
61+
this, the autoloader falls back to the classmap autoloading like in
6262
non-Composer mode.
6363

64+
.. _autoloading-troubleshooting:
65+
6466
Troubleshooting
6567
---------------
6668

67-
Dump the class loading information manually via `composer dumpautoload` and
68-
check that the autoload information is updated. Typically you would check
69-
:file:`vendor/composer/` to hold files like :file:`autoload_classmap.php` and
70-
:file:`autoload_psr4.php`, etc.
69+
- Dump the class loading information manually via
70+
71+
.. code-block:: bash
72+
73+
composer dumpautoload
74+
75+
and check that the autoload information is updated. Typically you would check
76+
:file:`vendor/composer/` to hold files like :file:`autoload_classmap.php` and
77+
:file:`autoload_psr4.php`, etc..
78+
79+
- Check if you find the required class names in these files and install any missing extensions.
7180

7281
Example:
7382

0 commit comments

Comments
 (0)