Warning: call_user_func_array - by Joost van Kempen

Solved16 replies4 participantsUpdated by Eva Kemp

  • Avatar: bertplantagie
    Joost van Kempen
    Participant

    Hi 8Theme,

    On a clean WP4 install, after activating the latest version of the Royal theme and required plugins, the following error appears at the bottom of the website:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /home/marloes/public_html/wp-includes/plugin.php on line 505

    When I switch back to a WP core theme the warning dissapears. What is causing this warning? Hope to hear from you soon. Live demo with warning at: http://marloes.bertplantagie.com/

    Kind regards,
    Joost

    16 Answers

    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello,

    Please provide us with wp-admin access in Private Content.

    Regards,
    Robert Hall.

    Avatar: bertplantagie
    Joost van Kempen
    Participant

    Hi Robert,

    Thank you for your reply. Please see the private content field for the credentials.

    Kinds regards,
    Joost van Kempen

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    The problem may be caused by one of the plugins. Please try to disable them one by one to find it out, as some plugins may be incompatible with our theme.

    Regards,
    Eva Kemp.

    Avatar: bertplantagie
    Joost van Kempen
    Participant

    Eva,

    Please read my first post: it is a clean install with only the theme and required theme plugins activated. See the private content of my last reply for the admin credentials.

    Kind regards,
    Joost

    Avatar: Robert Hall
    Robert Hall
    Participant

    As I see you don’t have installed WooCommerce plugin. It must be installed before you install the theme.
    Please follow the documentation:
    https://www.8theme.com/demo/docs/royal/index.html#!/woocommerce

    Regards,
    Robert Hall.

    Avatar: bertplantagie
    Joost van Kempen
    Participant

    Hi Robert,

    We actually did install Woocommece in the first place, and deleted it afterwards.

    Anyway, for now we deleted the theme, installed Woocommerce and reinstalled the theme. The problem still occurs. What else could be the reason?

    Kind regards,
    Joost

    Avatar: Robert Hall
    Robert Hall
    Participant

    Please provide us with FTP credentials in Private Content and we will try reinstall theme for you.

    Regards,
    Robert Hall.

    Avatar: bertplantagie
    Joost van Kempen
    Participant

    Hi Robbert,

    Please see the private content field below for the FTP credentials. Hope to hear from you soon.

    Kind regards,
    Joost

    Please, contact administrator
    for this information.
    Avatar: bertplantagie
    Joost van Kempen
    Participant

    We have figured out that the error occur’s ONLY when we activate the main menu position.

    Even when a menu has no items and the main menu position is activated the error occurs. When we activate only the mobile menu the warning dissapears… Any idea what could cause this?

    Kind regards,
    Joost

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Sorry for a long delay.
    We’ve transferred your query to the second level support and due to large amount of work the investigation may take more time. But we’ll try to help you as soon as possible.

    Thank you for understanding.

    Regards,
    Eva Kemp.

    Avatar: bertplantagie
    Joost van Kempen
    Participant

    Hi Eva,

    Thank you for the response. We’ve changed to antoher theme, so you won’t be able to test it on our domain. If you have a solution, please let me know.

    Kind regards,
    Joost van Kempen

    Avatar: Olga Barlow
    Olga Barlow
    Participant

    Hello,

    Could you renew admin panel access, so we’ll be able to check if our fix works for you. Because we can’t reproduce this problem on our installs.

    Regards,
    Olga Barlow

    Avatar: bertplantagie
    Joost van Kempen
    Participant

    Hi Olga,

    We’ve changed site to antother server. Still, the error occurs whena activating the main menu. When we deactivate the main menu, the error dissapears. Please see the private content area for the the details.

    Please, contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant

    Hello, @bertplantagie,

    We have fixed this bug on your site and also it will be included in next theme update. Check, please.

    Regards,
    Olga Barlow

    Avatar: bertplantagie
    Joost van Kempen
    Participant

    Hi Olga,

    Great job! Thank you very much for the great support. Do we need to the modifications in mind if the update is available or could we just update to the new version when it’s released?

    Topic could be marked solved.

    Kind regards,
    Joost

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    You can update the theme when a new version is released as that fix will be implemented in the new version.

    Thank you.
    Regards,
    Eva Kemp.

The issue related to '‘Warning: call_user_func_array’' has been successfully resolved, and the topic is now closed for further responses