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

Templates for Joomla! 5.x • Re: Undefined function get_current_user() when editing user.css

$
0
0
So I have changed this line
$user = get_current_user();
to this
$user = Factory::getUser();
This is rubbish. The original function fetch the Linux User on the Server, while the second function fetch the Joomla User. Two entirely different things.

Statistics: Posted by Per Yngve Berg — Sun Aug 11, 2024 1:27 pm



Viewing all articles
Browse latest Browse all 2163

Trending Articles



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