Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2033

Joomla! 4.x Coding • Re: JUserHelper broken in 4.4.3

$
0
0
I just found the problem. In this new Joomla version, somehow, namespaces are not automatically loaded. So I fixed adding the following to my code:

Code:

JLoader::registerNamespace('Joomla\Plugin\User\Token', JPATH_BASE . 'plugins/user/token/src');JLoader::registerNamespace('Joomla\Plugin\User\Profile', JPATH_BASE . 'plugins/user/profile/src');JLoader::registerNamespace('Joomla\Plugin\User\Joomla', JPATH_BASE . 'plugins/user/joomla/src');
Maybe can be useful to somebody else.
Thanks!

Statistics: Posted by cacaominutro — Fri Mar 01, 2024 1:21 pm



Viewing all articles
Browse latest Browse all 2033

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>