Joomla JTM Reseller- Warning: utf8_decode()

I installed the JTM Reseller to my Joomla 1.5.8 website and got an error message below:

Warning: utf8_decode() expects parameter 1 to be string, array given in /home/virtuoso/public_html/libraries/joomla/language/language.php on line 225

I tried to upgrade my joomla to version 1.5.20 but the error still exist. I uninstall my JTM reseller component and install the latest issued last July 23 2010 but the error still there. I remembered that i upgraded my server to php 5.3.2 (which we did recently) that might cause of the error.

I googled the problem and stumbled in this link: http://www.php.net/manual/en/function.strlen.php#98315.

Here is my fix.
Edit /libraries/joomla/language/language.php

Change from:
$string = htmlentities(utf8_decode($string));
To this:
$string = htmlentities(utf8_decode(“$string”));

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Furl
  • Reddit
  • Smarking
  • StumbleUpon
  • Technorati
  • TwitThis
  • YahooMyWeb
  • Simpy
  • Propeller
  • Fark
  • LinkedIn
  • Live
  • Mixx

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment