Re: Uncaught exception 'RuntimeException' Unable to load renderer class
Posted 9 years 7 months ago
This message contains only secure information that is visible to Matt, moderators and administrators
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
Re: Uncaught exception 'RuntimeException' Unable to load renderer class
Posted 9 years 4 months ago
I just found this error in a site that is otherwise working fine. I was unaware of it untill testing for search listing using the site:yoursitenamehere in Google. I found one listing and it's for this runtime exception. Tragic that the only page listed so far is an error...
I've added this error and the page link in the secure section.
I tested several other RT themed sites this same way and found no issue. Maybe rt_ricochet specific?
Sometimes you will see the error (as opposed to the 404 error page) on the front of the site or simply a blank page, but the error will be looged in the server log file.
Re: Uncaught exception 'RuntimeException' Unable to load renderer class
Posted 9 years 4 months ago
Hello
this is not a direct issue of rockettheme templates, but it is good if a check for current Joomla document type is added
about parameter:
'Adds Suffix to URL'
there is an issue with it because some systems plugins may force Joomla to create the document Type before the suffix is considered
- this maybe revised in v4.0
See my thread in
Calling JHTML::_('behaviour...') inside event onAfterInitialize event breaks URLs created via parameter "Add suffix to URL" by creating wrong JDocument type
Re: Uncaught exception 'RuntimeException' Unable to load renderer class
Posted 9 years 4 months ago
You are right. The error is thrown if there is a non existant file - but only if that file has an extension. Disabling Add Suffix to URL does clear up the issue.
It seems to be related, although Page Suffix in RT template manager Advanced tab doesn't seem to do anything. Is it advisable to enable or disable Page Suffix?
Re: Uncaught exception 'RuntimeException' Unable to load renderer class
Posted 9 years 3 months ago
The issue with turning off 'Adds Suffix to URL' on a site that is indexed in the search engines is the subsequent 404 errors that result.
It appears that many sites have the problem: Google "joomla/document/document.php on line 1018" to see how widespread it is.
In my case, the sites were running well and I was not able to create the error from any normal activity on the sites. Only by cross referencing the error and access logs was I able to see where the errors had been generated. As the number of these errors were small I was able to redirect them to prevent the errors appearing.
Re: Uncaught exception 'RuntimeException' Unable to load renderer class
Posted 9 years 3 months ago
Adds Suffix to URL has always been turned off on our site. We still have the issue.
The mention of "non-existant file" (like a missing image) possibly causing the error is interesting. But I'm not conviced that is the root of the issue.
"Unable to load renderer class", suggests to me that some file has a bad include for the "renderer class", or the "renderer class" method being used is passing the wrong parameters, or has the wrong data/var-type for the passed parameters, or is missing a requiered parameter to be able to load the "render class"
Which of those cases and what is the issue file at the root of the problem is the real question.