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

Joomla! 4.x Coding • Re: old script failing in joomla 4 - Factory:: issue

$
0
0
not sure what you think is misssing

isn't the namespace defined by line 2:
use Joomla\CMS\Factory;

confess that i don't know the term "containers"

is it possible to show an example if this means that the syntax of the function calls is missing something?
investigation old syntax of $mainframe = JFactory::getApplication('site') led me to both JFactory change to Factory and removal of qualifying 'site'.

confession #2 - i don't know how to determine which data fields are available for either the getApplication() or getUser() functions.

Statistics: Posted by ahollan1 — Fri Nov 22, 2024 3:34 pm



Viewing all articles
Browse latest Browse all 2179

Trending Articles



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