• Resolved Do Rosario

    (@katzlabo)


    I’ve downloaded version 5.16.1.1 from your website (I have an account), and when I activate the plugin on my local dev, I have a fatal error :

    Fatal error: Uncaught Error: Undefined constant “SECURE_AUTH_KEY”
    in \www\app\public\wp-content\plugins\the-events-calendar\common\vendor\freemius\includes\class-freemius.php on line 4061

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Guga Alves

    (@gugaalves)

    Hi @katzlabo,

    Security Keys in WordPress are a string of random characters used for authorization and encryption of cookies generated by WordPress.

    These security keys should be defined in the wp-config.php file.

    You can generate your own unique security key from the WordPress key generator, then edit your wp-config file to include them there.

    Thread Starter Do Rosario

    (@katzlabo)

    Hi @gugaalves,

    Thanks for your reply!

    Just in case, for others who can encounter this error, by default Local by Flywheel doesn’t generate salt keys. We must generate our own like you describe.

    But I thinks it’s a mistake too to not verify if a constant exist and generate a Fatal error ??

    Plugin Support Guga Alves

    (@gugaalves)

    Yes, that’s an excellent idea for sure!

    I’ll share that topic with our developers, who can check if there’s a way to show a warning or something different than a Fatal.

    Thank you for highlighting that!

    Plugin Support Abz

    (@abzlevelup)

    Hi @katzlabo,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

    Best,
    Abz

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Undefined constant “SECURE_AUTH_KEY”’ is closed to new replies.