File Upload Fails on Version 5.4.0
-
Hi @takayukister ,
The File Upload, which used to work, now fails on Version 5.4.0.
On the LOG for staging, where I first test changes I get the below NEW errors:AH01071: Got error ‘PHP message:
PHP Warning: pathinfo() expects parameter 1 to be string, array given in /var/www/vhosts/example.com/staging.example.com/wp-content/themes/example/pdf-templates/RegistrationUploadFiles.php on line 147PHP message:PHP Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /var/www/vhosts/example.com/staging.example.com/wp-content/themes/example/PHPHtmlParser/vendor/paquettg/php-html-parser/src/PHPHtmlParser/Selector.php on line 91PHP message:
I will email you the two files relevant to the above error messages. I will also email you the functions.php which is the main file initiating the PDFs generation.
May I ask, what should be fixed on my code to match the changes you have added to file upload mechanism and file-name verification mechanism?
Regards, Ehud
- The topic ‘File Upload Fails on Version 5.4.0’ is closed to new replies.