• Hi, I’ve tried to install both version 1.1.0 and 1.1.1 from scratch (clean installs, not upgrades). As soon as I hit “activate” on the plugin, the site crashes, and the following appears in the PHP log:

    PHP Fatal error: Uncaught Error: Call to undefined function wp_create_nonce() in /var/www/example.com/www/public/wp-includes/functions.php:1860

    This is with the latest WP and php-7.4.x.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Darko G.

    (@darkog)

    Interesting. The plugin does not call wp_create_nonce anywhere. I will do some more tests.

    Thread Starter michael.orlitzky

    (@michaelorlitzky)

    I think it’s a result of define('FS_METHOD', 'direct'); in wp-config.php. I commented out a call to request_filesystem_credentials() in classes/class-ip-location-block-file.php and after that, I can activate the plugin.

    (NB: the database download still doesn’t work after that, but I was able to move the database into the expected location manually. The “Settings” page still can’t see the database I put there, but if I try to look up my own IP address, it does work.)

    Plugin Author Darko G.

    (@darkog)

    @michaelorlitzky thanks for reporting that issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Undefined function wp_create_nonce()’ is closed to new replies.