Forum Support

Shape 5
September 25, 2021, 04:24:45 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Verical Accordian Not working after Wordpress upgrade  (Read 428 times)
cspub
Jr. Member
**
Offline Offline

Posts: 236



« on: September 13, 2014, 12:07:48 PM »

I'm attaching a screen shot of the error. After upgrading wordpress and all plugins the other day, now everywhere I use the vertical accordion menu I get an error. I have hidden the widgets so as to not have the error showing now. Do you know how or what to do to fix the plugin so I can use it again?

Thanks
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: September 15, 2014, 06:45:47 AM »

Here's a solution I just provided to another member a few seconds ago:


I'll be uploading an updated version of the plugin in the next few days; until then, here's a fix:

In the "accordion_menu_walker.php" file in the plugin folder, find the following code:

Code:
class Accordion_Menu_Walker extends Walker_Nav_Menu{

function display_element ($element, &$children_elements, $max_depth, $depth = 0, $args, &$output){

And change it to:

Code:
class Accordion_Menu_Walker extends Walker_Nav_Menu{

var $options;

function display_element ($element, &$children_elements, $max_depth, $depth = 0, $args, &$output){


That should fix all the errors.  Let me know ASAP if there are any other issues with the plugin, as I will only be working on updating it today and tomorrow.

If you don't want to add that single line of code, you can wait until Wednesday and just grab the latest download of the plugin, as I plan to have the download updated by then.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.