> That class exists in Joomla 3.x
Yes, and it seems that some of the methods of the class have been deprecated.
However, the class still exists in 4.4:
https://github.com/joomla/joomla-cms/bl ... /Crypt.php
And even in 5.1:
https://github.com/joomla/joomla-cms/bl ... /Crypt.php
And the call to the Crypt method in the UserHelper class, JROOT/libraries/src/User/UserHelper.php:527, is also included in 4.4.:
https://github.com/joomla/joomla-cms/bl ... r.php#L527
Also, the UserHelper class does contain a use statement to Joomla\CMS\Crypt\Crypt:
https://github.com/joomla/joomla-cms/bl ... er.php#L20
A more general question:
What could be a reason that Joomla throws an error Class "Joomla\CMS\..." not found?
Yes, and it seems that some of the methods of the class have been deprecated.
However, the class still exists in 4.4:
https://github.com/joomla/joomla-cms/bl ... /Crypt.php
And even in 5.1:
https://github.com/joomla/joomla-cms/bl ... /Crypt.php
And the call to the Crypt method in the UserHelper class, JROOT/libraries/src/User/UserHelper.php:527, is also included in 4.4.:
https://github.com/joomla/joomla-cms/bl ... r.php#L527
Also, the UserHelper class does contain a use statement to Joomla\CMS\Crypt\Crypt:
https://github.com/joomla/joomla-cms/bl ... er.php#L20
A more general question:
What could be a reason that Joomla throws an error Class "Joomla\CMS\..." not found?
Statistics: Posted by Jefferson49 — Sun Apr 28, 2024 5:08 am