https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× Welcome to the ToolsJX forum!


Error on \displaygrid.php on line 103

  • Dimavj
  • Dimavj's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 6 months ago #467

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.

More
14 years 6 months ago #477

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.

  • Dimavj
  • Dimavj's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 6 months ago #488

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();
        }

Thanks!

A.

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.136 seconds

Contact Us

Contact us on Discord

Contact us on Facebook