2 votes
Accepted

Joomla 4 custom module namespace issue

Joomla uses PSR-4 autoloader. You must follow this convention for builtin autoloading to work. In your case you have to rename the helper file to match the class file, i.e. it should be /Helper/...
Sharky's user avatar
  • 11.2k
1 vote

Using a table from a library when namespaced

You can try either of these method that I have used in components. use Mylib\Library\Table\MyTable; ... $this->db = $this->db ? :Factory::getContainer()->get('DatabaseDriver'); $...
Irata's user avatar
  • 3,927
1 vote
Accepted

Joomla\Filesystem\File or Joomla\CMS\Filesystem\File

In the newer Joomla\Filesystem\File which is part of the Joomla Platform, there is no longer the method/function called exists() The exists() method called in the Joomla\CMS\Filesystem\File can be ...
Irata's user avatar
  • 3,927

Only top scored, non community-wiki answers of a minimum length are eligible