WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Blog menu snippet
  • Print
Pages: [1]   Go Down

Author Topic: Blog menu snippet  (Read 4888 times)

Offline mikejd

  • Posts: 251
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
Logged

Offline mikejd

  • Posts: 251
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
Logged

Offline mikejd

  • Posts: 251
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
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Blog menu snippet
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2