$manager = $modx->getManager();
$manager->createObjectContainer('myClassName');

someInstance->fromArray
Fatal error: Call to a member function fromArray() on a non-object in D:\webserver\xampp\htdocs\Script\Visualize-Studio.com\vsc\TvL\core\cache\elements\modsnippet\1.include.cache.php on line 12
http://github.com/MaZZie/VisualTeams/blob/master/core/components/visualteams/elements/snippets/snippet.visualteams.php
There seems to be a problem with the fromArray.. can not find the solution after some google work.
$teams->Array(array(
Quote from: MaZZie at Oct 19, 2010, 03:52 PM
Fatal error: Call to a member function fromArray() on a non-object in D:\webserver\xampp\htdocs\Script\Visualize-Studio.com\vsc\TvL\core\cache\elements\modsnippet\1.include.cache.php on line 12
http://github.com/MaZZie/VisualTeams/blob/master/core/components/visualteams/elements/snippets/snippet.visualteams.php
There seems to be a problem with the fromArray.. can not find the solution after some google work.
I can tell you right now that line 24:
$teams->Array(array(
is wrong; should be fromArray. Also, you should check your core/cache/logs/error.log - that might provide you with more information.
$base_path = !empty($base_path) ? $base_path : $modx->getOption(’core_path’).’components/visualteams/’;
$modx->addPackage(’visualteams’,$base_path.’model/’);
This discussion is closed to further replies. Keep calm and carry on.