Support » Plugin: HTTP Headers » Call to undefined function check_admin_referer()

  • 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)
  • I have this error as well

    Plugin Author Dimitar Ivanov

    (@zinoui)

    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?

    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)
  • You must be logged in to reply to this topic.