• Resolved Chris D

    (@cdwheelhit)


    Hello,

    Trying to export and seems like we are getting Fatal Error on line 10. Should I copy and paste the error log entry?

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

    (@ix3)

    Hi @cdwheelhit,

    Yes, please post the error log entry.

    Thread Starter Chris D

    (@cdwheelhit)

    Sure thing here is the log

    PHP Fatal error: Uncaught Error: Undefined constant “NONCE_SALT” in /nas/content/live/crossinternati/wp-content/plugins/wp-all-export/helpers/wp_all_export_secure_file.php:10#012Stack trace:#012#0 /nas/content/live/crossinternati/wp-content/plugins/wp-all-export/helpers/wp_all_export_generate_export_file.php(10): wp_all_export_secure_file(‘/nas/content/li…’, ‘8’)#012#1 /nas/content/live/crossinternati/wp-content/plugins/wp-all-export/libraries/XmlCsvExport.php(768): wp_all_export_generate_export_file(‘8’)#012#2 /nas/content/live/crossinternati/wp-content/plugins/wp-all-export/libraries/XmlCsvExport.php(167): XmlCsvExport::save_csv_to_file(false, false, 0)#012#3 /nas/content/live/crossinternati/wp-content/plugins/wp-all-export/libraries/XmlCsvExport.php(21): XmlCsvExport::export_csv()#012#4 /nas/content/live/crossinternati/wp-content/plugins/wp-all-export/actions/wp_ajax_wpallexport.php(262): XmlCsvExport::export()#012#5 /nas/content/live/crossinternati/wp-includes/class-wp-hook.php(324): pmxe_wp_ajax_wpallexport(”)#012#6 /nas/content/live/crossinternati/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)#012#7 /nas/content/live/crossinternati/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#8 /nas/content/live/crossinternati/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_wpallex…’)#012#9 {main}#012 thrown in /nas/content/live/crossinternati/wp-content/plugins/wp-all-export/helpers/wp_all_export_secure_file.php on line 10

    Plugin Support Trey

    (@ix3)

    Hi @cdwheelhit,

    Thanks, that’s helpful.

    You should define NONCE_SALT in your /wp-config.php file to fix this. Here’s how you can do it:

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

    You can generate a unique phrase here: https://api.www.ads-software.com/secret-key/1.1/salt/ (do not share it with anyone). And you can see what it looks like in an example wp-config file here: https://core.trac.www.ads-software.com/browser/tags/6.7.1/wp-config-sample.php.

    Plugin Support Trey

    (@ix3)

    Hi @cdwheelhit,

    I am marking this as resolved since we haven’t heard back in a while. Feel free to follow up in this thread if you still have questions about this topic.

    Anyone else, please open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.