Skip to content

Commit 08122be

Browse files
authored
Common errors in development (#25)
start with help for common errors in development
1 parent cdcd8dd commit 08122be

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

docs/common-errors/index.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,29 @@ sidebar_position: 9
44

55
Common Errors
66
=============
7-
Some frequently asked questions on Error messages and how to resolve them
7+
Some frequently asked questions on Error messages and how to resolve them.
8+
9+
As a developer you somtimes will be stuck in your code.
10+
If it happens to you, also have a look on https://joomla.stackexchange.com/ - a huge collection of valuable knowledge.
11+
Here we collect some frequently aske questions.
12+
13+
Class [..] not found
14+
--------------------
15+
16+
You need to understand the namespace concept as described in sction General Concepts (work in progress)
17+
Then check:
18+
- Is the namespace defined in your manifest file?
19+
- Has every class in your extension the correct namespace?
20+
- Is every filename correct and matches the namespace?
21+
22+
Examples:
23+
Code: use FooNamespace\Component\Foos\Administrator\Extension\FooComponent
24+
25+
But the filename is src/Extension/FoosComponent.php
26+
27+
28+
29+
830
:::caution TODO
931

1032
This page is unfinished, please use the **Edit this Page** link at the bottom of this page to help make it more useful.

0 commit comments

Comments
 (0)