Title: Error
Last modified: September 1, 2016

---

# Error

 *  [harishs1610](https://wordpress.org/support/users/harishs1610/)
 * (@harishs1610)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-799/)
 * Hi,
 *  I am unable to access my widget area and customize in theme panel. It is throwing
   a php error, which is as follows:
 * > Fatal error: Call to undefined function wp_print_media_templates() in /hsphere/
   > local/home/myweb/myweb.com/wp-content/plugins/cherry-plugin/includes/widgets/
   > cherry-banner-widget.php on line 158
 * When i click on media library it is throwing this error:
 * > Warning: call_user_func_array() expects parameter 1 to be a valid callback,
   > function ‘wp_print_media_templates’ not found or invalid function name in /
   > hsphere/local/home/myweb/myweb.com/wp-includes/plugin.php on line 525
 * Would be great if someone can help me sort this. I have this to be delivered 
   in a couple of days. It was working fine but suddenly past few days its not working.
   Kindly help.
 * Thanks in advance

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/error-799/?output_format=md) [1](https://wordpress.org/support/topic/error-799/?output_format=md)
2

 *  Thread Starter [harishs1610](https://wordpress.org/support/users/harishs1610/)
 * (@harishs1610)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-799/page/2/#post-7496777)
 * [@ajit](https://wordpress.org/support/users/ajit/)
    I am using 4.5.2
 * [@ravi](https://wordpress.org/support/users/ravi/) snapshot in the below links
 * [https://i.imgsafe.org/8ee62f2d21.jpg](https://i.imgsafe.org/8ee62f2d21.jpg)
 * [https://i.imgsafe.org/8ee662a3c8.jpg](https://i.imgsafe.org/8ee662a3c8.jpg)
 *  [Wooninjas](https://wordpress.org/support/users/wooninjas/)
 * (@wooninjas)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-799/page/2/#post-7496782)
 * `wp_print_media_templates()` this is a core WP function [@harishs1610](https://wordpress.org/support/users/harishs1610/)
   
   I think you need to replace your **wp-includes directory** with a fresh WP install.
   Do backup your site first.
 *  Thread Starter [harishs1610](https://wordpress.org/support/users/harishs1610/)
 * (@harishs1610)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-799/page/2/#post-7496783)
 * [@wooninjas](https://wordpress.org/support/users/wooninjas/).
 * Could you please provide a link on how to go about it(tutorial) including the
   backup part. As am quite new with this.
 * Thanks to one and all..
 *  [Wooninjas](https://wordpress.org/support/users/wooninjas/)
 * (@wooninjas)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-799/page/2/#post-7496787)
 * [@james](https://wordpress.org/support/users/james/) Huff has already answered
   this. See
 * [https://wordpress.org/support/topic/reinstall-wordpress-and-not-lose-content?replies=12](https://wordpress.org/support/topic/reinstall-wordpress-and-not-lose-content?replies=12)

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/error-799/?output_format=md) [1](https://wordpress.org/support/topic/error-799/?output_format=md)
2

The topic ‘Error’ is closed to new replies.

## Tags

 * [Call to undefined function:](https://wordpress.org/support/topic-tag/call-to-undefined-function/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 19 replies
 * 5 participants
 * Last reply from: [Wooninjas](https://wordpress.org/support/users/wooninjas/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/error-799/page/2/#post-7496787)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
