• Hi, i have problem with upload file.
    If i have active hook Integromat, after send form i see error: There was an unknown error uploading the file.
    But form is sent, because I use plugin Contact Form CFDB7 and all data and file are sent and saved.
    To Integromat are sent all data (without file).
    If hook Integromat is not active, form is send success.
    Where is problem please? How can I send file to Integromat and show success message CF7 after send form?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • We are experiencing the same issue with a new CF7 web form that includes a file upload.

    The web form saves the data submitted but displays an error message saying the file upload failed.

    This plugin correctly sends the data through to Integromat and on to my final endpoint.

    If i disable the integration on the CF7 web form then the form works as expected. As soon as we enable it with the webhook URL the form appears to fail on submit from the front end.

    We are seeing the following PHP error in the logs:

    [22-Jul-2021 05:13:54 UTC] WordPress database error Table 'babylov1_au.wp_many_forms' doesn't exist for query SELECT * FROM wp_many_forms WHERE status = 1 AND form_provider = 'cf7' AND form_id = 9112 made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, wpcf7_rest_create_feedback, WPCF7_ContactForm->submit, WPCF7_Submission::get_instance, WPCF7_Submission->proceed, do_action('wpcf7_mail_sent'), WP_Hook->do_action, WP_Hook->apply_filters, mnfs_cf7_submission

    If you could please provide any advice to get this working that would be appreciated. If we could exclude the file upload field from the package sent or something like that?

    The integration is working fine for our forms that do not have a file upload so believe it is directly related to this.

    Many Thanks.

    I am also having this problem.
    I get this error in the console

    Uncaught TypeError: Cannot read properties of null (reading ‘addEventListener’)
    at HTMLDocument.<anonymous> (send_to_integromat.js?ver=1.0.0:9)
    at e (jquery.min.js?ver=3.6.0:2)
    at t (jquery.min.js?ver=3.6.0:2)

    It seem like everything is working. The file is sent and all fields. It just that the error “There was an unknown error uploading the file.” is thrown.

    In the error log I am getting:

    [26-Nov-2021 19:15:15 UTC] PHP Warning:  basename() expects parameter 1 to be string, array given in /home/myusername/public_html/mydomain.co.uk/wp-content/plugins/cf7-redirections-integrations-and-database/modules/cf7/class-module-cf7.php on line 280
    [26-Nov-2021 19:15:15 UTC] PHP Warning:  copy() expects parameter 1 to be a valid path, array given in /home/myusername/public_html/mydomain.co.uk/wp-content/plugins/cf7-redirections-integrations-and-database/modules/cf7/class-module-cf7.php on line 280
    • This reply was modified 2 years, 12 months ago by ionian.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘File uploading error’ is closed to new replies.