Title: Invalid Function Warning
Last modified: August 30, 2016

---

# Invalid Function Warning

 *  Resolved [dsj246](https://wordpress.org/support/users/dsj246/)
 * (@dsj246)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/invalid-function-warning-1/)
 * 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](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://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)

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

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/invalid-function-warning-1/#post-6286717)
 * 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](https://wordpress.org/support/users/dsj246/)
 * (@dsj246)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/invalid-function-warning-1/#post-6286763)
 * 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 🙂
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/invalid-function-warning-1/#post-6286821)
 * Thanks for the update!

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

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

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/invalid-function-warning-1/#post-6286821)
 * Status: resolved