[BETA] Cannot create a plugin in J5 #1045

Closed
opened 2024-02-05 15:14:43 +00:00 by vistamedia · 1 comment
Member

Steps to reproduce the issue

Create a plugin, attach it to a component and compile

Expected result

The component to be compiled

Actual result

Compiling fails with the error :
Argument 1 passed to VDM\Joomla\Componentbuilder\Compiler\Joomlaplugin\Structure::setMainXmlFile() must be an instance of VDM\Joomla\Componentbuilder\Compiler\Joomlaplugin\mixed, instance of stdClass given, called in /var/www/html/libraries/jcb_powers/VDM.Joomla/src/Componentbuilder/Compiler/Joomlaplugin/Structure.php on line 196

System information (as much as possible)

  • OS Name & Version: Mac 14.2.1
  • MySql Version: 5.7
  • PHP Version: 7.4
  • Joomla Version: 3.10.12
  • JCB Version: 3.1.36
  • Browser: Firefox developer edition

Additional comments

if I remove the plugin from the component, it is compiled properly again.

### Steps to reproduce the issue Create a plugin, attach it to a component and compile ### Expected result The component to be compiled ### Actual result Compiling fails with the error : Argument 1 passed to VDM\Joomla\Componentbuilder\Compiler\Joomlaplugin\Structure::setMainXmlFile() must be an instance of VDM\Joomla\Componentbuilder\Compiler\Joomlaplugin\mixed, instance of stdClass given, called in /var/www/html/libraries/jcb_powers/VDM.Joomla/src/Componentbuilder/Compiler/Joomlaplugin/Structure.php on line 196 ### System information (as much as possible) - OS Name & Version: Mac 14.2.1 - MySql Version: 5.7 - PHP Version: 7.4 - Joomla Version: 3.10.12 - JCB Version: 3.1.36 - Browser: Firefox developer edition ### Additional comments if I remove the plugin from the component, it is compiled properly again.
vistamedia added the
Beta
label 2024-02-05 15:14:43 +00:00
Owner

Fixed it in 24163c1071 please test download

Fixed it in https://git.vdm.dev/joomla-beta/com-componentbuilder/commit/24163c10711c04a864f2fbc2203854e697e42713 please test [download](https://git.vdm.dev/joomla-beta/pkg-component-builder/archive/v3.1.37.zip)
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#1045
No description provided.