• Home
  • Get help
  • Ask a question
Last post 1 hour 14 min ago
Posts last week 81
Average response time last week 44 min
All time posts 70358
All time tickets 10859
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#11422 – Error on website after migrating to Joomla 4

Posted in ‘SEOInfo and other Weeblr extensions’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 21 November 2024 16:52 UTC
guilhermey

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 

Thursday, 21 November 2024 17:50 UTC
wb_weeblr

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

 

 
Thursday, 21 November 2024 17:59 UTC
guilhermey

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

 

Thursday, 21 November 2024 18:03 UTC
wb_weeblr

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

 

 

 

 

 
Thursday, 21 November 2024 18:19 UTC
guilhermey

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

Thursday, 21 November 2024 18:42 UTC
wb_weeblr

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