• Resolved brad hogan

    (@bradley2083)


    Hey, there. Seeing this error on the settings page and I don’t appear to see the save button as probably a result of this error.

    Fatal error: Uncaught Error: Undefined constant “AUTH_KEY” in /Users/bradhogan/Documents/Websites/wp-default/app/public/wp-content/plugins/image-source-control-isc/includes/log.php:17 Stack trace: #0 /Users/bradhogan/Documents/Websites/wp-default/app/public/wp-content/plugins/image-source-control-isc/includes/log.php(97): ISC_Log::get_file_name() #1 /Users/bradhogan/Documents/Websites/wp-default/app/public/wp-content/plugins/image-source-control-isc/includes/settings/sections/miscellaneous.php(60): ISC_Log::get_log_file_url() #2 /Users/bradhogan/Documents/Websites/wp-default/app/public/wp-admin/includes/template.php(1836): ISC\Settings\Sections\Miscellaneous->render_field_enable_log(Array) #3 /Users/bradhogan/Documents/Websites/wp-default/app/public/wp-content/plugins/image-source-control-isc/admin/templates/settings/settings.php(37): do_settings_fields(‘isc_settings_pa…’, ‘isc_settings_se…’) #4 /Users/bradhogan/Documents/Websites/wp-default/app/public/wp-content/plugins/image-source-control-isc/includes/settings.php(62): require_once(‘/Users/bradhoga…’) #5 /Users/bradhogan/Documents/Websites/wp-default/app/public/wp-includes/class-wp-hook.php(324): ISC\Settings->render_settings_page(”) #6 /Users/bradhogan/Documents/Websites/wp-default/app/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #7 /Users/bradhogan/Documents/Websites/wp-default/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /Users/bradhogan/Documents/Websites/wp-default/app/public/wp-admin/admin.php(260): do_action(‘settings_page_i…’) #9 /Users/bradhogan/Documents/Websites/wp-default/app/public/wp-admin/options-general.php(10): require_once(‘/Users/bradhoga…’) #10 {main} thrown in /Users/bradhogan/Documents/Websites/wp-default/app/public/wp-content/plugins/image-source-control-isc/includes/log.php on line 17

Viewing 1 replies (of 1 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi Brad,

    thanks for reaching out.

    AUTH_KEY is a constant defined in WordPress’ wp-config.php file. It is used by WordPress core itself, as well as by many other plugins to generate unique values. It is likely, that there can be more warnings like this that don’t involve Image Source Control.

    Please open the wp-config.php file in the root directory of your WordPress installation and search for AUTH_KEY. You should find a line like this:

    define( 'AUTH_KEY', 'put your unique phrase here' );

    If that’s not there, you can take the appropriate code block from wp-config-sample.php.

    Please let me know if that works.

    Thanks,
    Thomas

Viewing 1 replies (of 1 total)

The topic ‘Error in debug log’ is closed to new replies.