• Resolved Belgarath

    (@belgarath)


    Hello,
    I am getting a fatal error caused by the Pie Register plugin. This happens when I click on ‘Appearance’–> ‘Menus’ in the backend. Here is the error log from WordPress:

    WordPress version 6.2.1
    Active theme: Pressive (version 2.11.1)
    Current plugin: Pie Register – Basic (version 3.8.2.6)

    Error Details

    An error of type E_ERROR was caused in line 32 of the file /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-content/plugins/pie-register/piereg_walker-nav-menu.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Piereg_Menu_Items_Visibility_Control::piereg_option(), 4 passed in /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-hook.php on line 308 and exactly 5 expected in /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-content/plugins/pie-register/piereg_walker-nav-menu.php:32
    Stack trace:

    0 /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-hook.php(308): Piereg_Menu_Items_Visibility_Control->piereg_option(‘3078’, Object(WP_Post), 0, Object(stdClass))

    1 /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)

    2 /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    3 /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-content/themes/pressive/inc/templates/custom-menu-walker.php(379): do_action(‘wp_nav_menu_ite…’, ‘3078’, Object(WP_Post), 0, Object(stdClass))

    4 /home/customer/www/ in /home/customer/www/xxxxxxxxxxxxxxxxxx.com/public_html/wp-content/plugins/pie-register/piereg_walker-nav-menu.php on line 32

    Do you have any solution for that problem?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Pie Register

    (@pieregister)

    Hi,

    This appears to be an environment based problem.

    It could also be a theme conflict. Can you please switch back to the default WordPress theme and see if that resolves the problem?

    Thank you
    Pie Register Support

    Thread Starter Belgarath

    (@belgarath)

    Hi,

    thank you for your response. Indeed it does work with another theme. So I can confirm that it is likely a theme conflict.
    I checked now up to what version Pie register did still work with my theme and it works up to 3.7.5.1

    Do you know what changes in Pie register may have happened in version 3.8. that may have caused the incompatibility?

    Plugin Author Pie Register

    (@pieregister)

    Hi,

    After 3.7.5.1, we released many new Pie Register versions. View our change log here: https://www.ads-software.com/plugins/pie-register/#developers.

    This could be because your theme might be using some deprecated function that is incompatible with Pie Register. Please contact us here so that we can debug further.

    Thank you
    Pie Register Support

    Thread Starter Belgarath

    (@belgarath)

    Hi,

    thank you very much. I did send a message via your contact form.

    Thread Starter Belgarath

    (@belgarath)

    Thank you very much for all your help. The theme incompatibility with the Pressive theme is now solved due to your professional help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critical error trying to add a menu item’ is closed to new replies.