• After updating to Storefront 2.0.0 today, now my website has an error message across the top that I don’t know how to fix.

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘storefront_woocommerce_scripts’ not found or invalid function name in /home/content/73/10884073/html/wp-includes/plugin.php on line 525

    Please help! I do not know what to do. I tried deleting line 525 but that only led to another warning message and the whole website disappearing.

    Thanks!
    (I first posted this to wordpress community 2 days ago and was told to move it here for a better response. Help)

Viewing 1 replies (of 1 total)
  • Hey,

    That function (storefront_woocommerce_scripts()) has been removed and is no longer referenced in the theme at all.

    Are you using a child theme? It’s possible that the child theme might be referencing it for some reason. Just remove any reference you can find to that function.

Viewing 1 replies (of 1 total)
  • The topic ‘Storefront 2.0.0 update now Warning Error on top of page’ is closed to new replies.