Author Topic: Blog menu snippet  (Read 1973 times)

Offline mikejd

  • Posts: 221
Blog menu snippet
« 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

Offline mikejd

  • Posts: 221
Re: Blog menu snippet
« Reply #1 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

Offline mikejd

  • Posts: 221
Re: Blog menu snippet (Solved)
« Reply #2 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