WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Droplets & Snippets => Topic started by: mikejd on March 28, 2012, 05:04:12 PM

Title: Blog menu snippet
Post by: mikejd on March 28, 2012, 05:04:12 PM
I have just installed the blog menu to my site and added the php call to the template.

I now get the following error:

Fatal error: Call to a member function numRows() on a non-object in /homepages/28/d73324164/htdocs/integra/wb/modules/blog_menu/include.php on line 53

What have I done wrong?

cheers,
Mike
Title: Re: Blog menu snippet
Post by: mikejd on March 29, 2012, 04:57:50 PM
Further information (which may help)

I am using WB v2.8.2, News module v3.5.5, Blogmenu v0.21 and it is not working.
I also have it installed on another site using WB v2.8.1, News module v3.5, Blogmenu v0.21 and it is working.

Any suggestions welcomed.

regards,
Mike
Title: Re: Blog menu snippet (Solved)
Post by: mikejd on March 29, 2012, 05:13:00 PM
I have managed to sort this out.

The error on line 53 is due to an error in the query on line48 - change 'active=true' to 'active=1'

The same error then occurs on line 62 - change line 59 - and line 85 - change line 83.

Now working OK

Mike