Common Joomla error messages and their solution

Following is a list of most commonly occurring Joomla error messages, with instructions on how to set these.

Fatal error: Call to undefined method RuntimeException::get().

This error typically appears when attempting to upgrade Joomla from version 2.5 to version 3. The major reason for this may be in your non-native system plugin’s onAfterInitialize method.

  1. Check to see whether the latest version of Joomla has been installed. Updating to the most current version might solve the issue if you are using an older version of Joomla.
  2. Check to see whether you are trying to use a method that is exclusive to a particular Joomla extension or component. If so, you will need to abandon your efforts.
  3. Check to verify that you are invoking the appropriate method on the appropriate class, and that the method in question is listed in the class.
  4. Reproducing the error in a simulated setting will make finding and fixing the problem much easier.

Fatal error: Call to undefined method stdClass::onDisplay()

This Joomla error often occurs when the “onDisplay()” function is used on an object of the “stdClass” class. This error message shows that the “onDisplay()” function on the “stdClass” class is not defined. This error occurs with the creating new content option.

Uploading fresh files could resolve the problem.

Fatal error: Call to undefined method JModel::addIncludePath()

Joomla typically generates the “Fatal error: Call to undefined method JModel::addIncludePath()” error when you attempt to invoke the “addIncludePath()” method on a JModel object. This error message indicates that the “JModel” class does not define the “addIncludePath()” method.

Extending your model class through JModelLegacy could solve the problem.

Fatal error: Call to undefined function utf8_ireplace()

The “Fatal error: Call to undefined function utf8 ireplace()” error in Joomla occurs when the “utf8 ireplace()” function is attempted to be called but is not defined. This function is not a standard PHP function, nor is it built into PHP.

To solve this issue, please navigate to /libraries/phputf8/str_ireplace.php and replace this file with a new new file.

Fatal error: Call to undefined method JControllerLegacy::get

To resolve this problem, download thhe appropriate joomla version, which you are using on your site. After that, extract the folders, “libraries” and “includes” and upload these to replace the two same folders on your site.

Call to undefined method JHtml::getJSObject()

Here is a very good post, describing the solution to this problem in a great detail.  http://forum.joomla.org/viewtopic.php?f=625&t=691030

Fatal error: Call to undefined function apc_cache_info()

You can correct this error by setting cache handler to file from your Global Configuration Manager.

Fatal error: Call to undefined function jimport() in /public_html/includes/framework.php

To resolve this problem, download the appropriate joomla version, which you are using on your site. After that, extract the folder “includes” and upload this to replace the two same folders on your site.

Fatal error: Call to undefined method JRegistry::getValue()

JRegistry::getValue() has been changed and now in Joomla 3.x, you have to use, JRegistry::get()

JLIB_APPLICATION_ERROR_COMPONENT_NOT_LOADING error

While updating to Joomla 3 website. This has been observed mainly on the sites that are updated from Joomla 3.5 to higher versions such as Joomla 3.6.
Since Joomla 3.6 is out, we have been updating our websites to keep up-to-date. It is highly recommended that you always take a backup of your site before making any kind of changes on your website.
Especially when you are installing version updates for any major changes have deployed, it is highly recommended that you take a full backup of your website.

Here are the quick steps you should consider to fix this problem:

Solution:

Log into the Administrator
Go to “Global Configuration”
In the “System” tab, look for the “Cache Settings” section.
Change “Cache” to “ON – Progressive caching”
Change “Cache Handler” to “File”
Click “Save”

While this is not yet fully detected as to why it is happening we hope that this will be completely fixed in the future versions of Joomla.

Modifying the core files of Joomla is not encouraged since it might result in unexpected errors and problems and can make it more difficult to update the system in the future.

Add a Comment

Your email address will not be published. Required fields are marked *

ABOUT CODINGACE

My name is Nohman Habib and I am a web developer with over 10 years of experience, programming in Joomla, Wordpress, WHMCS, vTiger and Hybrid Apps. My plan to start codingace.com is to share my experience and expertise with others. Here my basic area of focus is to post tutorials primarily on Joomla development, HTML5, CSS3 and PHP.

Nohman Habib

CEO: codingace.com

Request a Quote









PHP Code Snippets Powered By : XYZScripts.com