Fatal Error, File Upload
-
I am using this on a website, with pro plugin as well, However, the file uploader does not seem to be work, whenever we want to view the uploaded files in the orders, it returns the fatal error on the uploaded file/image page. In the woocommerce logs I found this log:
2023-02-10T10:45:32+00:00 CRITICAL Uncaught Error: Call to undefined function WPDesk\FCF\Pro\Field\File\mime_content_type() in /home/phreakbad/public_html/wp-content/plugins/flexible-checkout-fields-pro/src/Field/File/PreviewGenerator.http://php:124
Stack trace:0 /home/phreakbad/public_html/wp-includes/class-wp-hook.php(308): WPDesk\FCF\Pro\Field\File\PreviewGenerator->load_file_preview(”)
1 /home/phreakbad/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
2 /home/phreakbad/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
3 /home/phreakbad/public_html/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
4 /home/phreakbad/public_html/wp-blog-header.php(19): require_once(‘/home/phreakbad…’)
5 /home/phreakbad/public_html/index.php(17): require(‘/home/phreakbad…’)
6 {main}
thrown in /home/phreakbad/public_html/wp-content/plugins/flexible-checkout-fields-pro/src/Field/File/PreviewGenerator.php on line 124
The topic ‘Fatal Error, File Upload’ is closed to new replies.