I receive an error Call to undefined function: toarray() , why?

This problem has been reported for those using GMaps with Mambo.  We do not support Mambo.  However, thanks to someone in the forum, you can resolve this issue by changing the googleapi.class.php file.

 

Comment out the line that uses the toArray() method.

 

$props = $map->getProperties();
########## $properties = $props->toArray(); 

You may also like