Title: Fatal error when saving API key
Last modified: April 6, 2026

---

# Fatal error when saving API key

 *  Resolved [justanothernerd](https://wordpress.org/support/users/justanothernerd/)
 * (@justanothernerd)
 * [1 month, 3 weeks ago](https://wordpress.org/support/topic/fatal-error-when-saving-api-key/)
 * PHP Fatal error: Uncaught Error: Call to undefined function check_admin_referer()
   in /srv/htdocs/wp-content/plugins/mori-ai-search/mori-ai-search.php:1891

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

 *  Plugin Author [Troy](https://wordpress.org/support/users/redclaytroy/)
 * (@redclaytroy)
 * [1 month, 3 weeks ago](https://wordpress.org/support/topic/fatal-error-when-saving-api-key/#post-18873335)
 * We are publishing a big update in a couple hours. That should fix this issue,
   but I’ll follow up shortly thereafter to confirm.
 *  Plugin Author [Troy](https://wordpress.org/support/users/redclaytroy/)
 * (@redclaytroy)
 * [1 month, 3 weeks ago](https://wordpress.org/support/topic/fatal-error-when-saving-api-key/#post-18873376)
 * We just published a big update with 2.0.0, but that doesn’t fix your error… So
   we published another update right after that 2.0.1. That should resolve the issue,
   but if not, please let me know and we’ll figure it out.
 *  Thread Starter [justanothernerd](https://wordpress.org/support/users/justanothernerd/)
 * (@justanothernerd)
 * [1 month, 3 weeks ago](https://wordpress.org/support/topic/fatal-error-when-saving-api-key/#post-18875317)
 * I’ve updated the plugin, and all is now OK. Thanks for the quick response!

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-when-saving-api-key%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/mori-ai-search/assets/icon-256x256.gif?rev=3366623)
 * [Mori AI Search](https://wordpress.org/plugins/mori-ai-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mori-ai-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mori-ai-search/)
 * [Active Topics](https://wordpress.org/support/plugin/mori-ai-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mori-ai-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mori-ai-search/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [justanothernerd](https://wordpress.org/support/users/justanothernerd/)
 * Last activity: [1 month, 3 weeks ago](https://wordpress.org/support/topic/fatal-error-when-saving-api-key/#post-18875317)
 * Status: resolved