Title: Function Error
Last modified: December 22, 2016

---

# Function Error

 *  Resolved [jscongdon](https://wordpress.org/support/users/jscongdon/)
 * (@jscongdon)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/function-error-7/)
 * I just moved my site from one location to another. After the move I am getting
   the following error.
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, function‘
   mdocs_init_post_pages’ not found or invalid function name in /[REDACTED]/wp-includes/
   class-wp-hook.php on line 298
 * It appears to be affecting the mdocs post pages… but the library itself appears
   to be working correctly.
 * Any help is greatly appreciated.

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

 *  Thread Starter [jscongdon](https://wordpress.org/support/users/jscongdon/)
 * (@jscongdon)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/function-error-7/#post-8583295)
 * Ok, so apparently the error was from a missing file. That has been corrected.
   Now on any [SITE]/mdocs-posts/[document] page I get a 404
 *  Thread Starter [jscongdon](https://wordpress.org/support/users/jscongdon/)
 * (@jscongdon)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/function-error-7/#post-8583307)
 * I ended up finding the 404 error correction instructions on the main page. Sorry
   for the added post… user error the whole time.

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

The topic ‘Function Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memphis-documents-library_91918f.
   svg)
 * [Memphis Documents Library](https://wordpress.org/plugins/memphis-documents-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memphis-documents-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memphis-documents-library/)
 * [Active Topics](https://wordpress.org/support/plugin/memphis-documents-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memphis-documents-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memphis-documents-library/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [jscongdon](https://wordpress.org/support/users/jscongdon/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/function-error-7/#post-8583307)
 * Status: resolved