Title: Call to undefined function check_admin_referer()
Last modified: March 29, 2020

---

# Call to undefined function check_admin_referer()

 *  [jakethesnake3p0](https://wordpress.org/support/users/jakethesnake3p0/)
 * (@jakethesnake3p0)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/call-to-undefined-function-check_admin_referer-2/)
 * Fatal error: Uncaught Error: Call to undefined function check_admin_referer()
   in /home/my-user-account/public_html/test/wp-content/plugins/http-headers/http-
   headers.php:621
 * This occurred when all I tried to do was activate ‘cookie security’ – with, or
   without any of the options (secure, httponly, samesite).
 * I am using the latest version of this plugin, I have a wildcard SSL certificate
   which is verified and in use.

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

 *  [khemlanimart](https://wordpress.org/support/users/khemlanimart/)
 * (@khemlanimart)
 * [6 years ago](https://wordpress.org/support/topic/call-to-undefined-function-check_admin_referer-2/#post-12909418)
 * I have this error as well
 *  Plugin Author [Dimitar Ivanov](https://wordpress.org/support/users/zinoui/)
 * (@zinoui)
 * [6 years ago](https://wordpress.org/support/topic/call-to-undefined-function-check_admin_referer-2/#post-12910031)
 * It’s stange because the **check_admin_referer** is a WordPress function.
 * Can you please tell me more about:
    1. What’s your PHP SAPI? 2. What’s your web
   server? 3. What’s the version of WordPress?
 *  [bobster234](https://wordpress.org/support/users/bobster234/)
 * (@bobster234)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/call-to-undefined-function-check_admin_referer-2/#post-12993683)
 * Same here … it seems to move around if I randomly pick a plugin to deactivate.
   Different options then fail.
    I’m on wpengine running unix, php 7.3. 5.4.2 wordpress
 * error is now moved to different line number
    undefined function check_admin_referer()
   in /wp-content/plugins/http-headers/http-headers.php

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

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

 * ![](https://ps.w.org/http-headers/assets/icon-128x128.png?rev=1413576)
 * [HTTP Headers](https://wordpress.org/plugins/http-headers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/http-headers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/http-headers/)
 * [Active Topics](https://wordpress.org/support/plugin/http-headers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/http-headers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/http-headers/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [bobster234](https://wordpress.org/support/users/bobster234/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/call-to-undefined-function-check_admin_referer-2/#post-12993683)
 * Status: not resolved