- This topic has 1 reply, 2 voices, and was last updated 7 years, 4 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Error messages when clicking links to download digital photos after PayPal
Tagged: download link, download URL, photo seller
Hello!
My client’s website was working fine but we noticed a bug recently. After a customer has made a purchase with PayPal they are returned to the “thank you” page which has a link to download their photo.
When clicked a new page loads showing 3 errors:
Warning: imagecreatetruecolor(): Invalid image dimensions in /home/sites/2a/e/ef30a60ce0/public_html/wp-content/plugins/wp-photo-seller/models/WPSCommon.php on line 3025
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home/sites/2a/e/ef30a60ce0/public_html/wp-content/plugins/wp-photo-seller/models/WPSCommon.php on line 3027
The site is [www.dorsetnow.co.uk]
It was all working fine before and the WPSCommon.php file has not been edited in any way. Now errors apart from these are being logged in either the server logo or WordPress log.
I temporarily removed line 3025 which, when refreshed, downloaded an image but it was blank.
Very strange! Any ideas what may be causing this?
Thanks
Phil
It is a good idea to load a fresh new copy of the plugin just in case:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
You shouldn’t have to modify the plugin’s code yourself. Have a look at the following post which might help you remember what changes were made to the site when it started:
https://support.tipsandtricks-hq.com/forums/topic/my-plugin-just-stopped-working