PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

I am getting a warning on my page:

Quick Cache Plugin. Speeds up WordPress®.

I am getting a warning on my page:

Postby Deyson » December 4th, 2011, 6:18 am

Warning: Missing argument 2 for WP_Admin_Bar::add_node(), called in /home/name/public_html/website/wp-content/plugins/quick-cache/includes/classes/menu-pages.inc.php on line 242 and defined in /home/name/public_html/website/wp-includes/class-wp-admin-bar.php on line 164

This is after I installed admin bar disabler.

Any clue on how to fix this?

Thank you :)
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: I am getting a warning on my page:

Postby DDVille » December 5th, 2011, 10:38 am

This developed after the WordPress 3.3 compatibility fix. I receive a similar warning on all my non multi-site installations. It only shows while logged into a site.

I three warnings printed in the footer of non multi-sites are:

Code: Select all
Warning: Missing argument 2 for WP_Admin_Bar::add_node(), called in ../plugins/quick-cache/includes/classes/menu-pages.inc.php on line 242 and defined in ../wp-includes/class-wp-admin-bar.php on line 164

Warning: Missing argument 3 for WP_Admin_Bar::add_node(), called in ../plugins/quick-cache/includes/classes/menu-pages.inc.php on line 242 and defined in ../wp-includes/class-wp-admin-bar.php on line 164

Warning: Invalid argument supplied for foreach() in ../wp-includes/class-wp-admin-bar.php on line 165
Technically blogging at JournalXtra.
User avatar
DDVille
Registered User
Registered User
 
Posts: 9
Joined: November 13, 2011

Re: I am getting a warning on my page:

Postby Deyson » December 5th, 2011, 11:06 am

I tried using the plugin that Cristian used here: viewtopic.php?f=4&t=2871&p=53701&

Seems to work now.
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: I am getting a warning on my page:

Postby DDVille » December 5th, 2011, 11:39 am

That's great but I love my admin bar. The issue shows for me when the admin bar is present.
Technically blogging at JournalXtra.
User avatar
DDVille
Registered User
Registered User
 
Posts: 9
Joined: November 13, 2011

Re: I am getting a warning on my page:

Postby Deyson » December 5th, 2011, 12:02 pm

I see, I do not have my admin bar anymore either :)

I was trying to find a way to disable the bar for subscribers..

I guess I will be heading back to the drawing board :)
User avatar
Deyson
Registered User
Registered User
 
Posts: 67
Joined: December 28, 2010

Re: I am getting a warning on my page:

Postby DDVille » December 5th, 2011, 12:34 pm

:) The developers will release a fix soon. The warning doesn't show for non logged in users so it's bearable.

Thank you for your suggestion. It'll help someone.
Technically blogging at JournalXtra.
User avatar
DDVille
Registered User
Registered User
 
Posts: 9
Joined: November 13, 2011


Return to Quick Cache Plugin

Who is online

Users browsing this forum: No registered users and 1 guest