• Home
  • Get help
  • Ask a question
Last post 46 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67807
All time tickets 10478
All time avg. posts per day 21

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.

#4674 – Custom Error Page Not Showing

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 16 February 2018 16:01 UTC
ibweb
I'm using the sh404SEF custom error page on my site. In sh404SEF > Configuration > Error page > Basic Configuration, I have the 404 error handling option set to "Override Joomla 404 error page". Previously, this worked correctly and showed the custom error page content from the "Error page en_GB" tab.

Now, the error page is just giving a white screen. If I change the setting to "Use Joomla 404 error page", it correctly shows the default Joomla 404 page. How do I get the sh404SEF custom 404 page to display correctly again?

The sh404SEF component and my site's template have both been updated since I last saw it working, so not sure if either of those may be related to the issue.

Here's login info if needed:
https://www.xxxx.com/administrator
Username: xxxx
Password: xxxx
Friday, 16 February 2018 19:18 UTC
wb_weeblr
Hi

1 - What are the exact and full versions of Joomla and sh404SEF that you use?

2 -
Now, the error page is just giving a white screen.
Go to Joomla configuration and set "Error reporting" to "Maximum". This should give you an actual error message.

3 - Switch to one of Joomla native templates such as Protostar temporarily and see if this happens also.

Rgds
 
Monday, 26 February 2018 16:49 UTC
ibweb
1) The versions are Joomla 3.8.5 and sh404SEF 4.13.2.3783

2) This is the error message it gives when error reporting is set to Maximum:

Warning: json_decode() expects parameter 1 to be string, array given in /home/xxxx/public_html/plugins/system/yootheme/yootheme.php on line 121

Fatal error: Cannot declare class Joomla\CMS\Document\Renderer\Html\ModulesRenderer, because the name is already in use in /home/xxxx/public_html/templates/yootheme/vendor/yootheme/theme/platforms/joomla-modules/src/ModulesRenderer.php on line 41

3) I tried switching to Protostar temporarily and the custom 404 page did show up.
Monday, 26 February 2018 16:52 UTC
wb_weeblr
Hi

Warning: json_decode() expects parameter 1 to be string, array given in /home/xxxx/public_html/plugins/system/yootheme/yootheme.php on line 121



Fatal error: Cannot declare class Joomla\CMS\Document\Renderer\Html\ModulesRenderer, because the name is already in use in /home/xxxx/public_html/templates/yootheme/vendor/yootheme/theme/platforms/joomla-modules/src/ModulesRenderer.php on line 41
Ah yes, this is a known bug in your Yootheme template.

You can update to the latest dev version, from the development versions download area. This template is not the only one doing this, so we made a workaround for it.

Best regards

 
Monday, 26 February 2018 18:11 UTC
ibweb
After updating to the latest development version (4.13.3.3797-dev), I'm still seeing the same error for the 404 pages.

Warning: json_decode() expects parameter 1 to be string, array given in /home/xxxx/public_html/plugins/system/yootheme/yootheme.php on line 121



Fatal error: Cannot declare class Joomla\CMS\Document\Renderer\Html\ModulesRenderer, because the name is already in use in /home/xxxx/public_html/templates/yootheme/vendor/yootheme/theme/platforms/joomla-modules/src/ModulesRenderer.php on line 41


I did try clearing my browser cache and clearing the cache in Joomla, but it didn't help.
Monday, 26 February 2018 18:26 UTC
wb_weeblr
Hi

As mentioned, this is a known issue in the template. Yes, it will probably only happens when sh404SEF is in use, but it is entirely caused by the template. I suggest you talk to YooTheme about this issue in their code.
If they were to say this only happens because of sh404SEF, please remind them that there is no problem with other templates, and specifically the Joomla native ones.

Best regards

 
Tuesday, 13 March 2018 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.