• Resolved mattcrux

    (@mattcrux)


    Hello! I’m having issues with an error, I upgraded my WordPress and plugins to latest and now I get this error. I even deactivated every single plugin and still get this error. Could anyone please help me resolve this problem? Thanks!

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘mytheme_child_scripts’ not found or invalid function name in /home1/phxlove/public_html/wp-includes/class-wp-hook.php on line 286

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Who created your site, or more specifically the child theme for Avada? The child theme might need to be updated as well.

    Thread Starter mattcrux

    (@mattcrux)

    I created the Child theme.

    function ‘mytheme_child_scripts’ not found or invalid function name...

    From the name of the function, I will guess this was copy/pasted into your functions.php file. The error leads me to believe that something is missing or deprecated within this function.

    Thread Starter mattcrux

    (@mattcrux)

    Thanks, I fixed the issue in the Functions File! Appreciate the help. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Issue after Upgrading – Invalid Function Error – class-wp-hook.php on line 286’ is closed to new replies.