Linked a plugin to a component. Then Compile, results in the error:
An error has occurred.
An error has occurred.
0 VDM\Joomla\Utilities\String\PluginHelper::safeLangPrefix(): Argument #2 ($group) must be of type string, null given, called in /var/www/clients/client2/web37/web/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Joomlaplugin/JoomlaFive/Data.php on line 344
Call Stack
### What Happened?
Linked a plugin to a component. Then Compile, results in the error:
An error has occurred.
An error has occurred.
0 VDM\Joomla\Utilities\String\PluginHelper::safeLangPrefix(): Argument #2 ($group) must be of type string, null given, called in /var/www/clients/client2/web37/web/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Joomlaplugin/JoomlaFive/Data.php on line 344
Call Stack
# Function Location
1 () JROOT/libraries/vendor_jcb/VDM.Joomla/src/Utilities/String/PluginHelper.php:101
2 VDM\Joomla\Utilities\String\PluginHelper::safeLangPrefix() JROOT/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Joomlaplugin/JoomlaFive/Data.php:344
3 VDM\Joomla\Componentbuilder\Compiler\Joomlaplugin\JoomlaFive\Data->set() JROOT/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Model/Joomlaplugins.php:71
4 VDM\Joomla\Componentbuilder\Compiler\Model\Joomlaplugins->VDM\Joomla\Componentbuilder\Compiler\Model\{closure}()
5 array_map() JROOT/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Model/Joomlaplugins.php:76
6 VDM\Joomla\Componentbuilder\Compiler\Model\Joomlaplugins->set() JROOT/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Component/Data.php:880
7 VDM\Joomla\Componentbuilder\Compiler\Component\Data->get() JROOT/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Component.php:38
### Steps to reproduce the Bug
Link a plugin to a component
### Which Joomla version are you compiling in?
5.1.14
### Which PHP version are you compiling in?
8.1.27
### Which Joomla versions are you targeting?
5
### Which PHP version are you targeting?
8.1
### Which Web server is JCB running on?
Apache
### Which Relational Database is JCB running on?
10.6.18-MariaDB-0ubuntu0.22.04.1
### Which OS is JCB running on?
ubuntu 22.04
### Which JCB version are you using?
5.0.3-alpha3
### Where in JCB did this issue occur?
Compilation of a component
### On which browsers did you encounter the issue?
Chrome
### Additional Comments
_No response_
Martin Kopp
added the Bug label 2024-09-16 18:52:45 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What Happened?
Linked a plugin to a component. Then Compile, results in the error:
An error has occurred.
An error has occurred.
0 VDM\Joomla\Utilities\String\PluginHelper::safeLangPrefix(): Argument #2 ($group) must be of type string, null given, called in /var/www/clients/client2/web37/web/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Joomlaplugin/JoomlaFive/Data.php on line 344
Call Stack
Function Location
1 () JROOT/libraries/vendor_jcb/VDM.Joomla/src/Utilities/String/PluginHelper.php:101
2 VDM\Joomla\Utilities\String\PluginHelper::safeLangPrefix() JROOT/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Joomlaplugin/JoomlaFive/Data.php:344
3 VDM\Joomla\Componentbuilder\Compiler\Joomlaplugin\JoomlaFive\Data->set() JROOT/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Model/Joomlaplugins.php:71
4 VDM\Joomla\Componentbuilder\Compiler\Model\Joomlaplugins->VDM\Joomla\Componentbuilder\Compiler\Model{closure}()
5 array_map() JROOT/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Model/Joomlaplugins.php:76
6 VDM\Joomla\Componentbuilder\Compiler\Model\Joomlaplugins->set() JROOT/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Component/Data.php:880
7 VDM\Joomla\Componentbuilder\Compiler\Component\Data->get() JROOT/libraries/vendor_jcb/VDM.Joomla/src/Componentbuilder/Compiler/Component.php:38
Steps to reproduce the Bug
Link a plugin to a component
Which Joomla version are you compiling in?
5.1.14
Which PHP version are you compiling in?
8.1.27
Which Joomla versions are you targeting?
5
Which PHP version are you targeting?
8.1
Which Web server is JCB running on?
Apache
Which Relational Database is JCB running on?
10.6.18-MariaDB-0ubuntu0.22.04.1
Which OS is JCB running on?
ubuntu 22.04
Which JCB version are you using?
5.0.3-alpha3
Where in JCB did this issue occur?
Compilation of a component
On which browsers did you encounter the issue?
Chrome
Additional Comments
No response
Has been solved by assigning the correct plugin group to the plugin. Many thanks to Llewellyn