View Full Version : Fix for "Fatal error:Cannot call method self::type_of_listings_in_index()" in MT3.0.0

01-02-2013, 07:16 PM
Version: Mosets Tree 3.0.0

You will receive the following error if you are running PHP 5.2 when access the Add Category page in MT's back-end:
Fatal error: Cannot call method self::type_of_listings_in_index() or method does not exist in...administrator/components/com_mtree/admin.mtree.html.php on line 4422

To resolve this, upgrade to PHP 5.3. Alternatively, you can make the following changes to the affected line to continue using PHP 5.2:
return call_user_func_array(array('MTConfigHtml','self::' .$function), $args);

This bug will be fixed in the upcoming 3.0.1 update release.