JUSERHELPER-PASSWORD-001

JUserHelper::getCryptedPassword()

JUserHelper::getCryptedPassword / getSalt

The old salt + crypt helpers are gone. Use password_hash via UserHelper.

JUserHelper::getCryptedPassword()UserHelper::hashPassword() / verifyPassword()

Dies at Joomla 3 → 4J3: Works nativelyJ4: Removed — fatalJ6: Removed — fatalBC plugin: no — already dead on J4Patch possible — review itJoomla API

What you will see

  • Call to undefined method ...::getCryptedPassword
  • Call to undefined method ...::getSalt

Symptoms people search

login hash mismatch · getCryptedPassword

Replace this code

Swap JUserHelper::getCryptedPassword() for UserHelper::hashPassword() / verifyPassword().

Joomla 3

Remove or stop calling this

$hash = JUserHelper::getCryptedPassword($plain, $salt);

Joomla 4 / 6

Use this instead

use Joomla\CMS\User\UserHelper;
$hash = UserHelper::hashPassword($plain);

How to fix it

  1. 1hashPassword for new hashes.
  2. 2verifyPassword for checks.
  3. 3Never store unsalted MD5.

Also known as

getCryptedPassword · getSalt · hashPassword

There is no 1:1 swap for this one. The architecture changed. If you cannot rewrite it, Infyways can.

Related issues

Get in touch

Have a project in mind? Let's talk about it.

Tell us what you're building. Whether it's a new site, an online store, a mobile app, or something that needs AI under the hood, we'll get back to you within a business day.

Free consultation
No commitment, no pressure
Reply within 24 hours
Usually much faster

Prefer a direct conversation?

Request a project quote

Tell us about your project

Fill out the quick form and we'll reach out.