Support » Plugin: Contact Form 7 » Wrong validation error when uploading files larger than PHP limit

  • After extensive testing, I have discovered the following bug:

    The file upload size for the server is set to 8 MB.
    I set the max size in my form to 7 MB.

    If I try to upload a file larger than 7 MB but smaller than 8 MB, I get the correct validation error.
    If I try to upload a file larger than 8 MB, I get validation errors on ALL mandatory fields… except the file upload field. Oh, the irony.

    Is this a known error and if yes, does a known fix exist?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website?

    Thread Starter ewithesbjerg

    (@ewithesbjerg)

    Hi,

    sorry, forgot the link, you can check it out here: https://ewimed.com/contact-form-test/

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter ewithesbjerg

    (@ewithesbjerg)

    In also get this error in the console when trying:
    Uncaught TypeError: Cannot read property ‘dispatchEvent’ of undefined
    at Object.wpcf7.triggerEvent (scripts.js?ver=5.1.6:367)
    at ajaxSuccess (scripts.js?ver=5.1.6:257)
    at Object.<anonymous> (scripts.js?ver=5.1.6:350)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at x (jquery.js?ver=1.12.4-wp:4)
    at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)

    Theme: Uncode

    Plugins:
    Akismet Anti-Spam
    Borlabs Cookie – Cookie Opt-in
    Category Order and Taxonomy Terms Order
    Contact Form 7
    Contact Form 7 Multilingual
    Contact Form CFDB7
    Enable Media Replace
    Find Posts Using Attachment
    Honeypot for Contact Form 7
    HTTP Headers
    iThemes Security
    LayerSlider WP
    Listo
    LiteSpeed Cache
    PHP native password hash
    Really Simple SSL
    ReCaptcha v2 for Contact Form 7
    Redirection
    Simple History
    Slider Revolution
    Smush
    SVG Support
    The Events Calendar
    The Events Calendar Shortcode & Block
    Uncode Core
    Uncode Dave’s WordPress Live Search (4.4.1)
    Uncode Privacy
    Uncode WPBakery Page Builder
    VC Particles Background
    Verwandte Beiträge für WordPress
    WP Mail SMTP
    WP Rollback
    WPBakery Page Builder (Visual Composer) Clipboard
    WPML Media
    WPML Multilingual CMS
    WPML String Translation
    WPML Translation Management
    Yoast SEO
    Yoast SEO Multilingual

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all other plugins excluding Akismet Anti-Spam, Listo, and Yoast SEO.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wrong validation error when uploading files larger than PHP limit’ is closed to new replies.