File Upload to File Attachment Issue
-
Having issues trying to setup the following mapping:
– mapping fields to ACF custom fields
– posting to custom post type (also tested posting to a new Page)
– mapping dropdown to custom taxonomy
– file upload mapped to file attachmentAfter ruling out each of the above configurations, I believe the FILE UPLOAD is causing an issue.
Below is the response to the XHR request:
<br /><b>Fatal error</b>: Uncaught Error: Call to undefined function wp_read_video_metadata() in /home/website/website.com/wp-admin/includes/image.php:146 Stack trace: #0 /home/website/website.com/wp-content/plugins/post-my-contact-form-7/includes/class-cf7-2-post-factory.php(1266): wp_generate_attachment_metadata(4040, '/home/website...') #1 /home/website/website.com/wp-content/plugins/post-my-contact-form-7/public/class-cf7-2-post-public.php(88): Cf7_2_Post_Factory->save_form_2_post(Object(WPCF7_Submission)) #2 /home/website/website.com/wp-includes/class-wp-hook.php(288): Cf7_2_Post_Public->save_cf7_2_post(Object(WPCF7_ContactForm)) #3 /home/website/website.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #4 /home/website/website.com/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #5 /home/website/website.com/wp-content/plugins/contact-form-7/includes/submission.php(333): do_action_ref_array('wpcf7_before_se...', Array) #6 /home/website/website.com/wp- in <b>/home/website/website.com/wp-admin/includes/image.php</b> on line <b>146</b><br />
Having difficulty figuring out what is causing this error. Anyone else having issues mapping file upload to featured image attachments?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘File Upload to File Attachment Issue’ is closed to new replies.