Hi!
On the development website https://devs.agorafaz.com.br/administrator, after successfully migrating to Joomla 4 (from 3.10), I got the following error on all pages including admin backend:
0 Call to a member function get () on null
Plus several error messages on error log, all related to sh404sef file Registry.php.
Previously Joomla migration assistant had advised me to disable several extensions/plugins and reenable them after migration finished.
I did that and these errors arose when I reenabled all sh404sef related.
I only got the website again after I disbled them back.
Question is: what do I do now i order to finish this and replace the J3.10 Live website with this newly J4.4.9 migrated dev version?
Best regards!
Luiz
Helpdesk is open from Monday through Friday CET
#11422 – Error on website after migrating to Joomla 4
Hi
Not sure what you are trying to do. You must remove sh404SEF from your site if you are trying to migrate your site to Joomla 4+, like all extensions that are Joomla 3 only.
sh404SEF development has stopped several years ago and it was formally discontinued in 2023.
Previously Joomla migration assistant had advised me to disable several extensions/plugins and reenable them after migration finished.
That's a bad advice. Joomla 3 extensions must be entirely uninstalled before you start migrating to Joomla 4 or 5.
If you have already migrated to Joomla 4, you cannot even uninstall sh404SEF (because it's a Joomla 3 - only extension).
Best regards
Yannick Gaultier
weeblr.com / @weeblr
Tks Yannick!
This is what concerns me: I have another website using sh404sef and 4SEF, migrated them to J4, and everything works (no idea how...).
I even remember your advice not to uninstall sh404sef even when also using 4SEF.
What do I do now, on this website where I already migrated and was just about ready to install 4SEF?
Should I just leave sh404sef disabled and install 4SEF?
Best regards!
Luiz
Hi
You cannot use sh404SEF on anything else than Joomla 3. You will immediately get PHP fatal errors.
I have another website using sh404sef and 4SEF, migrated them to J4, and everything works (no idea how...)
This is absolutely impossible:
- 4SEF and sh404SEF cannot run at the same time
- sh404SEF kills any Joomla 4 or Joomla 5 site - as do any extension that is only for Joomla 3
The only way your site can "work" is if the sh404SEF system plugin is disabled. Meaning that sh404SEF does not do anything.
Should I just leave sh404sef disabled and install 4SEF?
That will prevent the errors. But of course, with just 4SEF, you can import the SEF URLs but you lose all the SEO features from sh404SEF - that are only in 4SEO.
Best regards
Yannick Gaultier
weeblr.com / @weeblr
Tks a lot Yannick!
So I reckon I will just install 4SEF and 4SEO and I think 4SEF will import URLs from sh404sef database, is that right?
Then, I will have to leave sh404sef installed but disabled. I'm not supposed to try to unistall sh404sef by any means, right?
Best regards!
Luiz
Hi
So I reckon I will just install 4SEF and 4SEO and I think 4SEF will import URLs from sh404sef database, is that right?
Not at all. This is a migration, just like you are migrating from Joomla 3 to Joomla 4. These topics are well documented.
Please read the documentation before you get started.
- start with 4SEF. Read here.
- then once all URLs are good and working as expected, install 4SEO and follow the procedure.
Best regards
Yannick Gaultier
weeblr.com / @weeblr