Forum Support

 
Advanced Search


New Posts
FAQs for Wordpress
If you have a question about Wordpress products please read through a list of our most commonly asked questions here.
[1]

Offline brelandr
Free Member
Posts: 27
Posted on: September 11, 2014, 08:21:20 PM

after upgrading to the latest wordpress version I am getting an error this site
http://randybreland.com/corvette/club-info/

Menu still shows up, but only after showing this error message

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/content/r/a/n/randybreland/html/corvette/wp-content/plugins/s5-accordion-menu/accordion_menu_walker.php on line 30

Warning: extract() expects parameter 1 to be array, null given in /home/content/r/a/n/randybreland/html/corvette/wp-content/plugins/s5-accordion-menu/accordion_menu_walker.php on line 30

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/content/r/a/n/randybreland/html/corvette/wp-content/plugins/s5-accordion-menu/accordion_menu_walker.php on line 75

Warning: extract() expects parameter 1 to be array, null given in /home/content/r/a/n/randybreland/html/corvette/wp-content/plugins/s5-accordion-menu/accordion_menu_walker.php on line 75
Logged

Offline Tristan Rineer
Free Member
Posts: 3858

Thanks for letting me know about the problem; I'm hoping to have a fix ready in the next few days.
Logged

Offline Tristan Rineer
Free Member
Posts: 3858

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

Offline brelandr
Free Member
Posts: 27

Thanks. That has resolved the issue.  It appears this affected a more than just this theme though. looks like other themes were broken as well including the september theme.
Logged

Offline Tristan Rineer
Free Member
Posts: 3858

I'm not sure what you mean about other themes having the issue; as shown by the fix, the problem was in the plugin, not the theme.  Or was there some other problem you're referring to?
Logged

Offline brelandr
Free Member
Posts: 27

was basically referring to the other themes using this plug in had the same issue.  I added the change to my other themes (plug ins) and it resolve the issue there as well
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.029 seconds with 23 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
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.