files.php error
-
Hi
I have a customer that is getting an error when trying to checkout with photos uploaded. This is using the image cropper input type.
The error is;
rename(/home/customer/www/talkinghands3d.com/public_html/wp-content/uploads/ppom_files/,/home/customer/www/talkinghands3d.com/public_html/wp-content/uploads/ppom_files/confirmed/1361/1173-): Invalid argument in /home/customer/www/talkinghands3d.com/public_html/wp-content/plugins/woocommerce-product-addon/inc/files.php on line 384The section of code from the files.php file is;
// Check if file not yet moved to confirm then move it. if( file_exists($base_dir_path) ) { if(rename ( $base_dir_path, $confirmed_dir_path.$file_name)) { $file_download_url_found = $ppom_dir_url .'confirmed/' .$order_id .'/' . $file_name; } } else if( file_exists($confirmed_dir_path.$file_name) ) { $file_download_url_found = $ppom_dir_url .'confirmed/' .$order_id .'/' . $file_name; } else if( file_exists($edits_dir_path) ) { $file_download_url_found = $ppom_dir_url . 'edits/' . $file_name; } return apply_filters('ppom_file_download_url', $file_download_url_found, $file_name);
Can you please see if there is a solution so that I can continue to take orders?
Thanks
The page I need help with: [log in to see the link]
- The topic ‘files.php error’ is closed to new replies.