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

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

$
0
0
JUserHelper is an alias for UserHelper and you have not give its full path. I think it should be:

\Joomla\CMS\User\UserHelper
Thanks for your reply. UserHelper should be loaded from the rigth path, i dont have error in finding it. I think the problem is what happend after it is loaded.

Edit:
I also tried your suggestion with the following modification:

$userProfile = JUserHelper::getProfile( $userId );
replaced by
$userProfile = \Joomla\CMS\User\UserHelper::getProfile( $userId );

With the same result (same error)

Statistics: Posted by cacaominutro — Thu Feb 29, 2024 11:48 am



Viewing all articles
Browse latest Browse all 2163

Trending Articles



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