Title: Uncaught Error: Call to undefined function
Last modified: July 3, 2017

---

# Uncaught Error: Call to undefined function

 *  Resolved [enfapulator](https://wordpress.org/support/users/enfapulator/)
 * (@enfapulator)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-2/)
 * I see this in the error log.
 * PHP Fatal error: Uncaught Error: Call to undefined function powered_cache_get_cache_dir()
   in /home/domain/public_html/wp-content/plugins/powered-cache/includes/dropins/
   page-cache.php:182, referer: [https://domain.com/products/](https://domain.com/products/)
 * This is running PHP 7.1, WordPress 4.8

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

 *  Plugin Author [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * (@m_uysl)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-2/#post-9285524)
 * Hello [@enfapulator](https://wordpress.org/support/users/enfapulator/),
 * Is the new logs still incoming? Probably, the problem occur during plugin update.
   You may know, WordPress turns off the plugin and turn on back when updating plugins.(
   usually this process take a few seconds)
 * that’s mean, someone tried to reach [https://domain.com/products/](https://domain.com/products/)
   page when you were updating the plugin.
 * We will fix the problem in next versions 🙂 I just opened an issue [an issue](https://github.com/skopco/powered-cache/issues/24)
   on GitHub.
 * Thanks for reporting.
    -  This reply was modified 8 years, 11 months ago by [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/).
      Reason: added github link
 *  Thread Starter [enfapulator](https://wordpress.org/support/users/enfapulator/)
 * (@enfapulator)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-2/#post-9285711)
 * Keeps happening… doubt it has anything to do with plugin updates. It does appear
   a bit intermittent though. I have to click around a lot on the site and then 
   one of the pages will pop the error at random.
 *  Plugin Author [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * (@m_uysl)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-2/#post-9285849)
 * [@enfapulator](https://wordpress.org/support/users/enfapulator/) Could you export
   plugin settings and send to `support@poweredcache.com`
 *  Thread Starter [enfapulator](https://wordpress.org/support/users/enfapulator/)
 * (@enfapulator)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-2/#post-9285887)
 * Story gets stranger. I went to do that… turns out the plugin is disabled… yet
   still functioning and delivering cached pages. I never disabled it. Bizarre.
 * Okay, just re-activated. Here is the settings export.
 * a:20:{s:19:”enable_page_caching”;b:1;s:12:”object_cache”;s:3:”off”;s:12:”cache_mobile”;
   b:1;s:26:”cache_mobile_separate_file”;b:1;s:19:”loggedin_user_cache”;b:0;s:9:”
   ssl_cache”;b:1;s:16:”gzip_compression”;b:1;s:13:”cache_timeout”;i:1440;s:14:”
   cache_location”;s:48:”/home/domain/public_html/wp-content/cache/”;s:19:”remove_query_string”;
   b:0;s:20:”rejected_user_agents”;s:0:””;s:16:”rejected_cookies”;s:0:””;s:12:”rejected_uri”;
   s:0:””;s:22:”accepted_query_strings”;s:0:””;s:22:”purge_additional_pages”;s:0:””;
   s:10:”cdn_status”;b:0;s:12:”cdn_hostname”;a:0:{}s:8:”cdn_zone”;a:0:{}s:18:”cdn_rejected_files”;
   s:0:””;s:18:”show_cache_message”;b:1;}
    -  This reply was modified 8 years, 11 months ago by [enfapulator](https://wordpress.org/support/users/enfapulator/).
 *  Plugin Author [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * (@m_uysl)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-2/#post-9286344)
 * > Story gets stranger. I went to do that… turns out the plugin is disabled… yet
   > still functioning and delivering cached pages. I never disabled it. Bizarre.
 * Yes, it looks like strange. Which web server are you using? Apache, Litespeed,
   nginx? Unfortunately I couldn’t reproduce the problem on our development side.
 * Could you share your htaccess file? (if you are using apache or litespeed) and
   which plugins are actively used, there might be a compatibility issue.
 * Cheers,
 *  Plugin Author [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * (@m_uysl)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-2/#post-9503537)
 * Hello [@enfapulator](https://wordpress.org/support/users/enfapulator/),
 * Powered Cache version 1.1.2 has been released and I hope your problem fixed with
   this release. Please update and let us know 🙂
 * Marking this topic as resolved, if the problem persists feel free to re-open 
   again.
 * Thanks.

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

The topic ‘Uncaught Error: Call to undefined function’ is closed to new replies.

 * ![](https://ps.w.org/powered-cache/assets/icon.svg?rev=2796939)
 * [Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score](https://wordpress.org/plugins/powered-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/powered-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/powered-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/powered-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/powered-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/powered-cache/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-2/#post-9503537)
 * Status: resolved