Support » Plugin: Store file uploads for Contact Form 7 » Getting Error Call to undefined function wp_read_audio_metadata

  • I am getting error while submitting to CF7.

    Note: I am trying to upload MP3 files

    <pre>fatal error:
    Array
    (
        [type] => 1
        [message] => Uncaught Error: Call to undefined function wp_read_audio_metadata() in /home/theuxm/html/wp-admin/includes/image.php:489
    Stack trace:
    #0 /home/theuxm/html/wp-content/plugins/store-file-uploads-for-contact-form-7/store-file-uploads-for-contact-form-7.php(39): wp_generate_attachment_metadata()
    #1 /home/theuxm/html/wp-content/plugins/store-file-uploads-for-contact-form-7/store-file-uploads-for-contact-form-7.php(55): nmr_create_attachment()
    #2 /home/theuxm/html/wp-includes/class-wp-hook.php(305): nmr_on_before_cf7_send_mail()
    #3 /home/theuxm/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #4 /home/theuxm/html/wp-includes/plugin.php(518): WP_Hook->do_action()
    #5 /home/theuxm/html/wp-content/plugins/contact-form-7/includes/submission.php(617): do_action_ref_array()
    #6 /home/theuxm/html/wp-content/plugins/contact-form-7/includes/submission.php(86): WPCF7_Submission->before_send_mail()
    #7 /home/theuxm/html/wp-content/plugins/contact-form-7/includes/submission.php(27): WPCF7_Submission->proceed()
    #8
        [file] => /home/theuxm/html/wp-admin/includes/image.php
        [line] => 489
    )
    </pre>
    • This topic was modified 1 year, 1 month ago by mrkhanakia.
Viewing 1 replies (of 1 total)
  • Plugin Author mirceatm

    (@mirceatm)

    Hi!
    Good catch!
    I’ve included a solution in the new version: 1.2.1
    Best regards!

Viewing 1 replies (of 1 total)
  • The topic ‘Getting Error Call to undefined function wp_read_audio_metadata’ is closed to new replies.