Questions tagged [deprecated]

Deprecation is a status applied to software features or language terms to indicate that they should be avoided, typically because they have been superseded.

Filter by
Sorted by
Tagged with
1
vote
1answer
51 views

Non deprecated method in Joomla! 4 to load user by userid

I'm looking for an extension for Joomla! 4.0 to replace a deprecated method which was used to load an user by userid. The method used actually is: $user = Factory::getUser($userid); The issue is that ...
3
votes
1answer
62 views

How to replace deprecated Joomla classes with VS Code?

Is there a way to conveniently replace deprecated Joomla classes with VS Code. I do have the PHP CodeSniffer (with Joomla Coding standards) and Intelephense extensions, although I am not sure if ...
3
votes
1answer
107 views

Easy way to identify Joomla deprecated Functions

We started Joomla extensions development from Version 2.5. During those days, we went through many training materials and able to complete the extension. Later as many releases evolved, and whenever ...
1
vote
1answer
553 views

What is the status of deprecated JError and what is the suggested replacement

JError is shown as deprecated (as of 12.3), but is still widely used in the core. The API docs say that its status is deprecated - 4.0 Will be removed without replacement, but its still alive and well ...
10
votes
2answers
10k views

How to redirect user with system message in Joomla 3

I know that you can achieve this by doing: JFactory::getApplication->redirect(url, message, type) but the documentation at JFactory::getApplication says it is deprecated and suggest to use ...
3
votes
2answers
462 views

JApplication::getCfg deprecated

What is the newer syntax to replace the deprecated JApplication::getCfg()? The docs don't specify the replacement in the deprecation notice. Thanks!