• We have two contact forms on this site and both lists are shown in the Contact Forms List. One shows all the entries and allows downloading the CSV. The second does not show any entries, though it indicates there are 9 pages. When I try to download the CSV the side throws a critical error. I have done all the ususal troubleshooting things like checking for conflicts and uploading a new copy of the plugin. Any insights would be helpful.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sallyinstc

    (@sallyinstc)

    Update: I was able to create a sandbox copy. Now I see this error on the admin page:
    ?Invalid argument supplied for foreach() in?/plugins/contact-form-cfdb7/inc/admin-subpage.php?on line?254

    I edited the URL to just show the relevant parts.

    The installed version of the plugin is 1.2.6.7

    Thread Starter sallyinstc

    (@sallyinstc)

    Also this error:
    Warning: foreach() argument must be of type array|object, bool given in?/plugins/contact-form-cfdb7/inc/admin-subpage.php?on line?259

    Plugin Author Arshid

    (@arshidkv12)

    Have you edited the submissions?

    Thread Starter sallyinstc

    (@sallyinstc)

    No, the submissions have not been edited. We cannot see them at all.

    Thread Starter sallyinstc

    (@sallyinstc)

    I was able to get a staging copy set up and have the text from the fatal error ( I edited out the root URL). Let me know if you need other information.

    Fatal error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, bool given in /public_html/wp-content/plugins/contact-form-cfdb7/inc/export-csv.php:93 Stack trace: #0 /public_html/wp-content/plugins/contact-form-cfdb7/inc/export-csv.php(93): array_keys(false) #1 /public_html/wp-content/plugins/contact-form-cfdb7/contact-form-cfdb-7.php(227): CFDB7_Export_CSV->download_csv_file() #2 /public_html/wp-includes/class-wp-hook.php(310): cfdb7_init(”) #3 /public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #4 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /public_html/wp-settings.php(632): do_action(‘init’) #6 /public_html/wp-config.php(103): require_once(‘/home/customer/…’) #7 /public_html/wp-load.php(50): require_once(‘/home/customer/…’) #8 /public_html/wp-admin/admin.php(34): require_once(‘/home/customer/…’) #9 {main} thrown in?/public_html/wp-content/plugins/contact-form-cfdb7/inc/export-csv.php?on line?93

    Plugin Author Arshid

    (@arshidkv12)

    Export data from cf7forms table and delete table cf7forms. Then deactivate cfdb7 plugin and activate it again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Download CSV Causes Critical Error’ is closed to new replies.