File attachment bug
-
Hello,
I had this error:[03-Jan-2022 14:59:21 UTC] PHP Notice: Failed to attach a file. /var/www/FALCONIA/amarulasolutions_com_www/wp-content/uploads/wpcf7_uploads/1626959564/E42-Guida-alla-configurazione-della-casella-email.pdf is not in the allowed directory. in /var/www/FALCONIA/amarulasolutions_com_www/wp-content/plugins/contact-form-7/includes/mail.php on line 147
And solved by forcing to false the check of !wpcf7_is_file_path_in_content_dir( $path ). What could be wrong? This is a very standard WP installation (mono-site, no custom upload folders, standard permissions etc). I could debug further, but I’m sure you can do it much better!
Thank you and kind regards
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘File attachment bug’ is closed to new replies.