Adding images throws a number of errors
-
I have installed and set up the wp-property plugin.
Adding a property without images is fine. The property is added, and appears as expected on the front end.
When adding a new property, or editing an existing property, and an image is added (featured, or through the wysiwyg), a number of errors are thrown back:
Warning: Division by zero in /home/citybaseproperty/public_html/wp-content/plugins/wp-property/third-party/tcpdf/tcpdf.php on line 7220 Warning: getimagesize(http://siteURL.net/wp-content/uploads/2014/10/banner-300x97.jpg): failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /home/citybaseproperty/public_html/wp-content/plugins/wp-property/third-party/tcpdf/tcpdf.php on line 7607 Warning: file_get_contents(http://siteURL/wp-content/uploads/2014/10/banner-300x97.jpg): failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /home/citybaseproperty/public_html/wp-content/plugins/wp-property/third-party/tcpdf/tcpdf.php on line 7622 Warning: Cannot modify header information - headers already sent by (output started at /home/citybaseproperty/public_html/wp-content/plugins/wp-property/third-party/tcpdf/tcpdf.php:7220) in /home/citybaseproperty/public_html/wp-admin/post.php on line 233 Warning: Cannot modify header information - headers already sent by (output started at /home/citybaseproperty/public_html/wp-content/plugins/wp-property/third-party/tcpdf/tcpdf.php:7220) in /home/citybaseproperty/public_html/wp-includes/pluggable.php on line 1173
I checked to see if there was anything specifically at those line numbers. [everything seemed fine]
I tried updating the version of the tcpdf from github, but still nothing.
At the end I figured the error might be cause by permissions [Authorization Required ]so I checked the files, but everything seemed fine. Maybe I missed something?
Any help would be much appreciated.
- The topic ‘Adding images throws a number of errors’ is closed to new replies.