Last post 11 hours 23 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67708
All time tickets 10463
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.

#6307 – Uncaught TypeError when using com_ajax

Posted in ‘Pre-sale questions’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 26 May 2016 21:01 UTC
quantz
Good evening,

I'm not sure if this is the right place for a bug report.
But when using the ajax component of Joomla! for handling a ajax request I got an Uncaught TypeError.

I used this url:
[code type="markup"]https://www.plantennamen.info/index.php?option=com_ajax&plugin=search&format=json[/code]

And I received the following error:
[code type="markup"]Fatal error: Uncaught TypeError: Argument 1 passed to PlgSystemRedirect::handleError() must be an instance of JException, instance of Error given, called in /home/plantenn/public_html/administrator/components/com_sh404sef/classes/router.php on line 1992 and defined in /home/plantenn/public_html/plugins/system/redirect/redirect.php:55 Stack trace: #0 /home/plantenn/public_html/administrator/components/com_sh404sef/classes/router.php(1992): PlgSystemRedirect::handleError(Object(Error)) #1 /home/plantenn/public_html/administrator/components/com_sh404sef/classes/router.php(1972): Sh404sefClassRouterInternal->sh404sefErrorPage(Object(Error)) #2 [internal function]: Sh404sefClassRouterInternal->sh404sefExceptionHandler(Object(Error)) #3 {main} thrown in /home/plantenn/public_html/plugins/system/redirect/redirect.php on line 55[/code]

It seems like the 'format=json' cause this problem. When applying this format to another component, like com_content, the same error appears. Since this is a default Joomla! feature it should work right?

Greetings,
Maarten
 
Friday, 27 May 2016 19:15 UTC
wb_weeblr
Hi

Indeed, this is not the place for issue reports. In addition, this is unlikely to be a bug in sh404SEF, as com_ajax is use extensively with sh404SEF on many sites, including this very site, weeblr.com, where there are multiple com_ajax requests on pretty much all pages.

However, your error message reminds me of a message displayed in J 3.5.0 or J 3.5.1, due to a breaking change in those Joomla version, that was fixed quite some times ago, so my best guess is that you are running out dated software.

I would suggest you open a support ticket, and be sure to specify all versions of software you use.

Rgds
 
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.