0 Class "VDM\Joomla\Componentbuilder\Compiler\Service\Placeholder" not found #970
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#970
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?
Attempting to complie component. The component gives this error:
0 Class "VDM\Joomla\Componentbuilder\Compiler\Service\Placeholder" not found
System information (as much as possible)
OS Linux l
PHP 8.0.26
MySQLi 5.7.30-cll-lve
Joomla:Joomla! 3.10.11
JCB: 3.1.12
I was able to sucessfully compile my component and install when I rolled JCB back to 3.1.5
I attempted to update to the newest version doing step upgrades.
When using the compiler I get the following error:
Interface "VDM\Joomla\Componentbuilder\Interfaces\FactoryInterface" not found
Still functions for me when I rolled back to 3.1.5
Wondering if this is a caching issue, I have seen on some systems, that they cache PHP in away that makes it hard to upgrade where there is major changes.
So the first thing I would do it make sure that I restart the server, and clear any kind of cache that may exist.
The other reality is that cache normally has a time to live... and so if waiting long enough things could start working without doing anything.
Okay so on my development environment I don't use any cache, and I only an always use FireFox.
We have had issues with Chrome, and Safari at times as they also cache things all the way to server side (crazy I know) but this is real. Specially if your server is local. The browser somehow knows this and starts taking action to cache things that would in a browser APP make sense, but not in a web-app.
So in short use FireFox for all things JCB development, and clear the cache.
The other thing to check is if all files are being added. So go to the following directory: public_html/libraries/jcb_powers/VDM.Joomla/src/Componentbuilder
You will see many folders and new classes/files in this folder: public_html/libraries/jcb_powers/VDM.Joomla/src/Componentbuilder/Interfaces you will see the FactoryInterface.php file, is your system having these files?
If any of the files are missing try reinstalling. All files must be there, and be the latest versions. What I do at times to remove old files, before I install JCB package I delete this folder: public_html/libraries/jcb_powers/VDM.Joomla/src/Componentbuilder (only this Componentbuilder folder) don't remove the whole jcb_powers as the Utilities classes are used in the update functions of JCB.
Thank you for your support and the detailed explanation! This helped me get all the way up to date. I was able to do incremental updates from 3.1.5 to 3.1.12
When I tried to increment past 3.1.12 I ran into the same errors as described here: #978
I will close this issue an follow along number 978 for resolution.