Title: Fatal while testing locally
Last modified: April 6, 2022

---

# Fatal while testing locally

 *  [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * (@jeroenrotty)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-while-testing-locally/)
 * Hi,
 * I’m testing your plugin with Local by Flywheel locally but I’m unable to activate
   due to:
 * _( ! ) Fatal error: Uncaught Error: Undefined constant “SECURE\_AUTH\_KEY” in/
   Users/jeroenrotty/Local Sites/yoastideas/app/public/wp-content/plugins/simple-
   feature-requests/inc/vendor/freemius/includes/class-freemius.php on line 4061_
 * That line reads:
 * `$secure_auth = SECURE_AUTH_KEY;`
 * Checked wp-config.php, but Local by flywheel does not set any keys so that’s 
   why it errors out. Just mentioning it here so you know.

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

 *  [Spellhammer](https://wordpress.org/support/users/spellhammer/)
 * (@spellhammer)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/fatal-while-testing-locally/#post-15600229)
 * Hi [@jeroenrotty](https://wordpress.org/support/users/jeroenrotty/),
 * Thanks for letting us know about this. Can you please try using this tool to 
   fix the error: [https://github.com/Freemius/freemius-fixer](https://github.com/Freemius/freemius-fixer).
   Let me know how it goes.
 *  Thread Starter [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * (@jeroenrotty)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/fatal-while-testing-locally/#post-15602308)
 * Hey!
 * No? I’m just giving you a heads-up on your code to let you know that your plugin
   creates a fatal error on activation on installations that have no keys set in
   wp-config.php. It’s up to you if you want to enhance the plugin to not fatal 
   out when there are none.
 * Have a great day.

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

The topic ‘Fatal while testing locally’ is closed to new replies.

 * ![](https://ps.w.org/simple-feature-requests/assets/icon.svg?rev=2202889)
 * [Simple Feature Requests Free - User Feedback Board](https://wordpress.org/plugins/simple-feature-requests/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-feature-requests/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-feature-requests/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-feature-requests/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-feature-requests/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-feature-requests/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/fatal-while-testing-locally/#post-15602308)
 * Status: not resolved