[BUG]: Demo extension: use Joomla\CMS\Factory; is used twice #1177
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1177
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What Happened?
Hi
I want to give JCB a try, installed today a new J-5.1.4 and the JCB 5.0.3.
When I compile and try to install the (unchanched) demo-extension that comes with JCB, PHP throws an error:
"Cannot use Joomla\CMS\Factory as Factory because the name is already in use"
In the DemoInstallerScript.php
use Joomla\CMS\Factory;
is used/written twice:
https://prnt.sc/eru0LbQws2CK
Steps to reproduce the Bug
Install new J and JCB, compile demo extension and try to install it.
Which Joomla version are you compiling in?
5.1.4
Which PHP version are you compiling in?
8.1.26
Which Joomla versions are you targeting?
5.1.4
Which PHP version are you targeting?
8.1.26
Which Web server is JCB running on?
Localhost/Wampserver/Apache 2.4.58.1
Which Relational Database is JCB running on?
MySQL 8.1..0
Which OS is JCB running on?
Windows 10
Which JCB version are you using?
5.0.3
Where in JCB did this issue occur?
Compilation of a component, Installation of a component
On which browsers did you encounter the issue?
Brave
Additional Comments
No response