Class 'ParagonIE_Sodium_Compat' not found after moving website

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Post Reply
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Dec 07, 2018 11:41 am

Class 'ParagonIE_Sodium_Compat' not found after moving website

Post by IrinoSayuri » Fri Dec 07, 2018 12:14 pm

Hey guys,
I moved my website to another hosting and I can't access my site now, the only thing I could get is this error:

Fatal error: Class 'ParagonIE_Sodium_Compat' not found in /xxx/libraries/vendor/paragonie/sodium_compat/lib/constants.php on line 6

Can someone please tell me what to do? I tried to google but found nothing...

Edit: of course I checked if all the files are where they should.

User avatar
Joomla! Master
Joomla! Master
Posts: 10920
Joined: Thu Feb 15, 2007 5:48 am
Location: Oxford, UK

Re: Class 'ParagonIE_Sodium_Compat' not found after moving website

Post by toivo » Fri Dec 07, 2018 2:24 pm

The missing class is defined in the file libraries/vendor/paragonie/sodium_compat/src/Compat.php. Get that file from the Joomla installation package and copy it to the server. If it turns out that more files are missing or corrupted, you may have to repeat the copy or reinstall.

You should also post the results from the Forum Post Assistant (FPA) by following the instructions from viewtopic.php?f=714&t=793531.

BTW, does the new site use the same version of PHP as the old one?
Toivo Talikka, Global Moderator
troubleshooting smtp and other articles

Post Reply

Return to “General Questions/New to Joomla! 3.x”