Title: Call to undefined function add_settings_error()
Last modified: November 17, 2018

---

# Call to undefined function add_settings_error()

 *  Resolved [ChrisL](https://wordpress.org/support/users/chrslcy/)
 * (@chrslcy)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-add_settings_error/)
 * I’m getting this error when creating posts by email using POSTIE PLUGIN:
 * `[17-Nov-2018 10:43:24 UTC] PHP Fatal error: Call to undefined function add_settings_error()
   in /home/username/public_html/wp-content/plugins/wp-fastest-cache/wpFastestCache.
   php on line 286`
 * The cache had been cleared prior to creating the post.

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

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-add_settings_error/#post-10890282)
 * are you talking about the following plugin?
 * [https://tr.wordpress.org/plugins/postie/](https://tr.wordpress.org/plugins/postie/)
 *  Thread Starter [ChrisL](https://wordpress.org/support/users/chrslcy/)
 * (@chrslcy)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-add_settings_error/#post-10890385)
 * Yes. That’s the one.
 *  [kibus90](https://wordpress.org/support/users/kibus90/)
 * (@kibus90)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-add_settings_error/#post-10890766)
 * Hello,
    I have same problem, but I do not know which plugin…
 * When I try login to dashboard, then I get fatal error 500 and these logs:
 *     ```
       [17-Nov-2018 15:10:58 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function add_settings_error() in site/public_html/wp-content/plugins/wp-fastest-cache/wpFastestCache.php:286
       Stack trace:
       #0 site/public_html/wp-content/plugins/wp-fastest-cache/wpFastestCache.php(1063): WpFastestCache->notify(Array)
       #1 site/public_html/wp-content/plugins/wp-fastest-cache/wpFastestCache.php(771): WpFastestCache->deleteCache()
       #2 site/public_html/wp-includes/class-wp-hook.php(286): WpFastestCache->on_all_status_transitions('publish', 'new', Object(WP_Post))
       #3 site/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
       #4 site/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
       #5 site/public_html/wp-includes/post.php(4128): do_action('transition_post...', 'publish', 'new', Object(WP_Post))
       #6 site/public_html/wp-includes/post.php(3588): wp_transition_post_status('publish', 'new', Object(WP_Post))
       #7 site/public_html/wp-content/ in site/public_html/wp-content/plugins/wp-fastest-cache/wpFastestCache.php on line 286
       ```
   
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-add_settings_error/#post-10891144)
 * I fixed the problem. Please delete wp fastest cache and download again to get
   the latest changes because I did not release a new version.
 *  Thread Starter [ChrisL](https://wordpress.org/support/users/chrslcy/)
 * (@chrslcy)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-add_settings_error/#post-10894956)
 * Thanks Emre. That did the trick.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-add_settings_error/#post-10896790)
 * you are welcome 🙂 if you vote, you make me so happy.
 * [https://wordpress.org/support/plugin/wp-fastest-cache/reviews/?rate=5#new-post](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/?rate=5#new-post)
 *  [yesyeah](https://wordpress.org/support/users/yesyeah/)
 * (@yesyeah)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-add_settings_error/#post-10917796)
 * Had the same problem – seems to be VERY common. The fix suggested worked.

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

The topic ‘Call to undefined function add_settings_error()’ is closed to new replies.

 * ![](https://ps.w.org/wp-fastest-cache/assets/icon-256x256.png?rev=2064586)
 * [WP Fastest Cache - WordPress Cache Plugin](https://wordpress.org/plugins/wp-fastest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fastest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fastest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fastest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fastest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [yesyeah](https://wordpress.org/support/users/yesyeah/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-add_settings_error/#post-10917796)
 * Status: resolved