Encountering this issue when updating a listing with photos on the listing.
Step 1) Add a listing with or without images.
Step 2) Update listing to adjust textual content, or add an image to the listing.
Step 3) Preview the update and click the “Update” button.
Error encountered:
file: /wp-content/uploads//photo.jpgArray ( [errors] => Array ( [import_file_error] => Array ( [0] => A valid URL was not provided. ) ) [error_data] => Array ( ) )
Verification photo exists:
-rw-r--r-- 1 www-data www-data 77175 May 5 19:34 /var/www/vhosts/***/html/wp-content/uploads/photo.jpg
Nginx Error Log:
2016/10/26 21:00:30 [error] 189712#0: *2585 FastCGI sent in stderr: "PHP message: PHP Warning: getimagesize(https://ayecode.b-cdn.net/wp-content/uploads//photo.jpg): failed to open stream: No such file or directory in /var/www/vhosts/***/html/wp-content/plugins/geodirectory/geodirectory_template_actions.php on line 1017
PHP message: PHP Warning: getimagesize(https://ayecode.b-cdn.net/wp-content/uploads//photo2.jpg): failed to open stream: No such file or directory in /var/www/vhosts/***/html/wp-content/plugins/geodirectory/geodirectory_template_actions.php on line 1017
I’m unsure as to what may have caused this issue, as it has worked prior, although I haven’t performed this process in quite some time (Months).