ButlerBlog

chad butler's weblog

  • About
  • Blog
  • WordPress Plugins
  • Contact
Home / Web / WordPress / WP-Members / WP-Members™ 2.3 Bug Fix – Non-widget Sidebar Login

WP-Members™ 2.3 Bug Fix – Non-widget Sidebar Login

By Chad Butler 16 Comments

An astute user recently pointed out an unknown bug that was introduced in the WP-Members 2.3.0 release and carries through the current 2.3.2 release.

If the user calls the wpmem_inc_sidebar function directly (as in the case of not using the widget), you will get a fatal error. I made some file structure changes in 2.3.0 in the area of the sidebar, the widget, and the login status and manually calling the function got overlooked. Fortunately, this effects a small number of users, there is an easy workaround, and I’ve already added a fix in the upcoming 2.3.3 feature release.

If you are effected by this bug and need a fix before the 2.3.3 release, you can do the following:

  • Open wp-members.php
  • At the end of the file, before the closing php tag (“?>”), add this:
    include_once('wp-members-sidebar.php');
  • Save the file

Enjoyed this article?

Don't miss a single post. Subscribe to our RSS feed!

  • Facebook
  • Twitter
  • Email
  • Print
  • More
  • LinkedIn
  • Reddit
  • Tumblr
  • Pocket
  • Pinterest

Filed Under: WP-Members Tagged With: plugins, WordPress, WP-Members

About Chad Butler

Chad Butler is a freelance writer and web developer. He has developed several popular WordPress plugins and has written for forbes.com, sfomag.com, and investopedia.com. He also runs a small organic farm in east Georgia.

Join Us!

I will never share your information. No spam. No junk. No kidding. Unsubscribe anytime.

Recent Posts:

  • Mastering the Art of Crafting SMART Marketing Goals
  • Rediscover Your Brand Story: 7 Tips for Refreshing Your Company Identity
  • Creating Engaging Content: Tips for a Successful Content Marketing Strategy
  • After a Layoff or Underemployment: Ingenious Ways to Make Extra Money
  • Essential Tips for Freelancers Applying for a Mortgage
  • 5 Steps to Crafting Your Market Research Strategy
  • Revolutionizing Your Content Strategy: How AI Can Improve Your Content Marketing Efforts
  • Leveraging Content Marketing to Give Your Small Business an Edge in Today’s Digital Marketplace
  • Simple Tactics for Protecting Your Small Business Against a Recession
  • Create and delete WordPress sites in XAMPP with a simple batch file

Archives

  • About
  • Blog
  • Archive
  • Contact

Site powered by WordPress, running on the Genesis Framework from StudioPress.

Unless otherwise noted, content on this site is © 2006-2023 ButlerBlog and may not be reproduced without express written permission from the author.

Some content may include affiliate links for which this site receives a small commission.