• PHP Warning: Declaration of Custom_Menu_Wizard_Walker::walk($elements, $max_depth) should be compatible with Walker::walk($elements, $max_depth, …$args) in /www/wp-content/plugins/custom-menu-wizard/include/class.walker.php on line 55

    PHP Warning: Declaration of Custom_Menu_Wizard_Sorter::walk($elements, $max_depth = 0) should be compatible with Walker::walk($elements, $max_depth, …$args) in /www/wp-content/plugins/custom-menu-wizard/include/class.sorter.php on line 60

    Please fix asap!

Viewing 7 replies - 1 through 7 (of 7 total)
  • I cannot update to php 8, but I do not think the plug in is being maintained, which is a bummer, as it is a very good plug-in. I do not think the developer has responded to any user in over 3 years.

    Thread Starter hfcs

    (@hfcs)

    Thank you for your response. I will look for a similiar plugin, hopefully there is one.

    I researched finding a replacement about 6 months ago, and did not find any that was as similar except for https://www.megamenu.com/ but you will need to pay for for the upgrade version for it to work well. .Also it is not as easy as Custom Menu Wizard Widget

    Plus it is not updated to work with the current wordpress version. This is what the non-pro version looks like. It does not allow you to adjust the size of the side bar, which is why you need the pro-version to make it work correctly.

    MEGA MENU NAVIGATION WIDGET example on my test site.
    https://norwood451wph.staging.wpengine.com/arroyo-grande-homes/

    The ACCORD example is the same plugin jquery accordion menu, which is another version of by design chemical.

    If you want more information about the The same widget is Design che jQuery Vertical Accordion Menu The site below includes pages which is the code for the plugin. Unfortunately,

    https://www.designchemical.com/blog/index.php/wordpress-plugins/wordpress-plugin-jquery-vertical-accordion-menu-widget/

    Also, I use the plugin with jQuery Vertical Accordion Menu this, which makes it easy to use. https://widget-options.com/

    According to my host, the only reason to update the PHP is for security reasons. However, if you already have your security set up correctly you really do not need to update the php. So, if the custom menu widget is work you do not need to fix it. That is why I have not switched to Mega menu yet, and I will not change unless I have to.

    If you find another plugin that is as as easy, and up-to-date. please let me know. ??

    David

    You can try the following code fix for this issue (PHP8 compatibility):

    custom-menu-wizard/include/class.walker.php -> change line 55 to this:
    public function walk( $elements, $max_depth, ...$args ) {

    custom-menu-wizard/include/class.sorter.php -> change line 60 to this:
    public function walk( $elements, $max_depth = 0, ...$args ) {

    Hi Chris- thank you for providing the code. but is it not clear where I would make that change.

    I am using what appears to be the same plug-in, as I tested the wizard version and it works exactly the same. It would be very dificult to change the plug-in, but I assume it is the same code used for the wizard widget. It is called jQuery Vertical Mega Menu, and it is not on the word press site any more. Like the Custom menu wizard, it is not maintained.

    I download the last version that I have from this site.
    https://www.designchemical.com/blog/index.php/wordpress-plugins/wordpress-plugin-jquery-vertical-mega-menu-widget/

    I assume that if I change the code to match what you suggested, it would work, but I do not know where like 55 and 60 can be found.

    FYI: I looked just about everywhere you can. In the plug-in, that I downloaded, in the theme child. I was not able to find a plug-in editor, as my theme is not supported anymore.

    I really tried to find the words the files I have, but I could not find them anywhere. I looked for walker, which I found in the dcwp file that I downloaded, which said codewalkers.com

    Here is my website pages that use the widget https://dnorwood.com/arroyo-grande-homes/

    Where would I find the file to change the line 55 and 60?

    Thank you for your help in advance.

    Sorry, I can only suggest what lines to update here for this plugin, Custom Menu Wizard Widget. I have no idea what lines you need to change for other plugins… you might check if you can get any clues from your PHP error logs.

    Can you tell me where the lines would be with custom Menu Wizard Widget?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP warnings’ is closed to new replies.