[resolved] How to fix this issue --call_user_func_array() expects parameter 1 (2 posts)

  1. kaylab87
    Posted 3 years ago #

    Hi guys, I'm newbie in Word Press CMS. After customized installing of WP (version 3.5.1). I get this issue:

    call_user_func_array() expects parameter 1 to be a valid callback, function 'redirect_products' not found or invalid function name in /home/content/33/10320433/html/landmark/wp-includes/plugin.php on line 406

    Please help to resolve it.

  2. Sergey Biryukov
    WordPress Dev
    Posted 3 years ago #

    You have an add_action() or add_filter() call somewhere in your code with a function that is not defined anywhere.

    Make sure the redirect_products() function exists, or find and remove the line where it's mentioned.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.