- Posts: 4
- Thank you received: 0
HI, I'm having this error when I pick to the menu that goes to my article that has a grid inside...
Call to a member function build() on a non-object in /....../...../.../.../plugins/content/displaygrid.php on line 103
some suggestions?
so, In my local copy too, there appear so may errors. using easyPHP 5.2.1.0
Thanks!
A.
Please Log in or Create an account to join the conversation.
Hi,
Does the problem occur only in this case? Does it work if you just insert a gird in a front page article?
Try adding this code before switch (line 99) in plugins/content/displaygrid.php
$builder = new stdClass();
Please Log in or Create an account to join the conversation.
WOOPs,
I had an error in my code, probably because a previous modification, so in the switch there were the two cases commented... Sorry now it's completely ok (I guess...)
it was like that...
switch($config->typejx){
//case 'grid':$builder = new GridView($id, &$config);break;
//case 'card':$builder = new CardView($id, &$config);
}
return $builder->build();
}
Please Log in or Create an account to join the conversation.