add_action
takes a valid callable function as second parameter. WordPress is unable to find add_custom_scripts
function which is being used to add some custom scripts probably, may be its not defined anywhere. You might have to look into fucntions.php
file of your active theme/child-theme, find the add_action
where second parameter is passed add_custom_scripts
. There are two things you can do after finding this line.
- Change the
add_custom_scripts
to a valid callable function. - Comment that line if you don’t need want to use that .