Error: Argument #2 ($id) must be of type int, #1022

Closed
opened 2023-12-11 08:56:02 +00:00 by infotecnica · 1 comment

Steps to reproduce the issue

compiling my component

Expected result

Compilation successful

Actual result

VDM\Joomla\Componentbuilder\Compiler\JoomlaThree\History::get(): Argument #2 ($id) must be of type int, null given, called in /var/www/vhosts/jcb.infotecnica.eu/httpdocs/web/libraries/jcb_powers/VDM.Joomla/src/Componentbuilder/Compiler/Model/Historycomponent.php on line 100

System information (as much as possible)

  • OS Name & Version:
  • MySql Version: 5.5.5-10.3.38-MariaDB-0ubuntu0.20.04.1
  • Apache Version:
  • PHP Version: 7.4.33
  • Joomla Version: 3.10.12
  • JCB Version: 3.1.28
  • Browser: Google Chrome

Additional comments

### Steps to reproduce the issue compiling my component ### Expected result Compilation successful ### Actual result VDM\Joomla\Componentbuilder\Compiler\JoomlaThree\History::get(): Argument #2 ($id) must be of type int, null given, called in /var/www/vhosts/jcb.infotecnica.eu/httpdocs/web/libraries/jcb_powers/VDM.Joomla/src/Componentbuilder/Compiler/Model/Historycomponent.php on line 100 ### System information (as much as possible) - OS Name & Version: - MySql Version: 5.5.5-10.3.38-MariaDB-0ubuntu0.20.04.1 - Apache Version: - PHP Version: 7.4.33 - Joomla Version: 3.10.12 - JCB Version: 3.1.28 - Browser: Google Chrome ### Additional comments
Author

I apologize, my mistake, I hadn't inserted the admin view in the component.
Now I'll try the compilation again

I apologize, my mistake, I hadn't inserted the admin view in the component. Now I'll try the compilation again
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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#1022
No description provided.