• Resolved dsj246

    (@dsj246)


    I have duplicated a site onto my server, to get it up and running before I switch the nameservers over. Right at the top and the bottom of the site I now get the following warning;

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wpa54064_inspect_scripts’ not found or invalid function name in /home/droyglas/public_html/wp-includes/plugin.php on line 496

    The weird thing is this warning is not on the original site (http://www.droylsdenglass.co.uk) only on the version on my server.

    Hope someone can help as I really want to transfer the hosting of this site ASAP

    https://ww.wp.xz.cn/plugins/duplicator/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi dsj246,

    Is it possible that you having PHP warnings disabled for the other site? That looks like a core WP file that is throwing the warning… You may have to do a global search in the codebase to me sure the function ‘wpa54064_inspect_scripts’ exists in both locations…

    Thread Starter dsj246

    (@dsj246)

    Cheers for the reply Cory. I have no idea what the issue was, but I commented a line out of functions.php that mentions wpa54064 and it seems to be working fine 🙂

    Thanks for the update!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Invalid Function Warning’ is closed to new replies.