Hi all, Since a few weeks my file-upload keeps failing in my form. I can't figure out what is wrong. Does anybody have any tips?
Wordpress version: 6.7.1
Formidable version: 6.16.2
Error: "<p>Er heeft zich een kritieke fout voorgedaan op deze site.</p><p><a href="https://wordpress.org/documentation/article/faq-troubleshooting/">Meer informatie over probleemoplossing in WordPress.</a></p>"
Translation: <p>A critical error has occurred on this site.</p><p><a href="https://wordpress.org/documentation/article/faq-troubleshooting/">Learn more about troubleshooting in WordPress .</a></p>
Thanks for any help!
So WP Smoosh PRO seemed to be causing the issue (de-activating fixed my form). Strange, but good for now! :D
Turn on Wordpress debugging then check your server logs and also check your browser console for jQuery errors (though that seems unlikely in this situation).
Debugging info:
[08-Dec-2024 15:22:14 UTC] PHP Warning file_get_contents(/home/gsvstatera/domains/gsvstatera.nl/public_html/wp-content/uploads/formidable/12/Gewimperde-aardster-2-1024x768.jpg): Failed to open stream: Permission denied in /home/gsvstatera/domains/gsvstatera.nl/public_html/wp-content/plugins/wp-smush-pro/core/class-file-system.php on line 17
[08-Dec-2024 15:22:14 UTC] PHP Fatal error Uncaught WpOrg\Requests\Exception\InvalidArgument: WpOrg\Requests\Transport\Curl::request(): Argument #3 ($data) must be of type array|string, boolean given in /home/gsvstatera/domains/gsvstatera.nl/public_html/wp-includes/Requests/src/Exception/InvalidArgument.php:29
Stack trace:
thrown in /home/gsvstatera/domains/gsvstatera.nl/public_html/wp-includes/Requests/src/Exception/InvalidArgument.php on line 29
Formidable's execution path doesn't even start until line 22. WP Smoosh PRO is co-opting the execution path before Formidable can do its thing.
It would be great to see a stack trace after WP Smoosh PRO is deactivated, but if the errors stopped after deactivating the plugin, then you would have to insert a break point to capture the stack.
Please login or Register to submit your answer