Class 'JString not found Joomla 4.0

General questions regarding the use of languages in Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Kikiyo
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Tue Jan 29, 2008 5:56 pm

Re: Class 'JString not found Joomla 4.0

Post by Kikiyo » Wed Sep 14, 2022 4:20 pm

Similar here, using Macedonian language pack.
Replacing "JString" with "StringHelper" in "public static function transliterate", and adding "use Joomla\String\StringHelper;" just below "defined('_JEXEC') or die;" solved the problem partially.

Now there is "An error has occurred.
0 Call to a member function get() on null" on the main Administrator menu link "Home dashboard" showing.
You do not have the required permissions to view the files attached to this post.


Post Reply

Return to “Language - Joomla! 4.x”