DISCOVER-15-001
plugins/content/foo.php (1.5 layout)
Joomla 1.5 plugin folder / discover install
Discover-install of 1.5 plugin paths was removed in Joomla 4.
plugins/content/foo.php (1.5 layout) → plugins/content/foo/foo.php + foo.xml (1.6+ layout)
What you will see
- Unable to discover extension
Symptoms people search
discover install finds nothing · 1.5 plugin
Replace this code
Swap plugins/content/foo.php (1.5 layout) for plugins/content/foo/foo.php + foo.xml (1.6+ layout).
Joomla 3
Remove or stop calling this
plugins/system/mysys.phpJoomla 4 / 6
Use this instead
plugins/system/mysys/mysys.php
plugins/system/mysys/mysys.xmlHow to fix it
- 1Put each plugin in its own folder with XML.
- 2Do not zip a single php file at the group root.
Also known as
discover install · 1.5 plugin
There is no 1:1 swap for this one. The architecture changed. If you cannot rewrite it, Infyways can.
Related issues
- Joomla 3 → 4PHP
DS path constant
DS → DIRECTORY_SEPARATOR or /
- Joomla 3 → 4Events / plugins
JDispatcher / JEventDispatcher
JDispatcher::getInstance() → Event dispatcher + SubscriberInterface
- Joomla 3 → 4Manifest / installer
Missing <namespace> in the manifest
<extension> without namespace → <namespace path="src">Vendor\Component\Name</namespace>
- Joomla 3 → 4Manifest / installer
Updater client 0 / 1 integers
<client>0</client> → site / administrator strings
- Joomla 4 → 5PHP
Dynamic PHP properties (PHP 8.2+)
$this->foo = 1 on an untyped class → Declare the property or use AllowDynamicProperties
- Joomla 3 → 4Manifest / installer
_QQ_ language placeholder
_QQ_ → Escaped quotes in INI files