close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

error log warnings

Thread began 9/06/2022 10:52 am by eric284736 | Last modified 9/30/2022 10:04 am by Ray Borduin | 139 views | 6 replies |

eric284736

error log warnings

Hi Ray,

My web server error log is showing some warnings and I wanted to see if this is something I can correct.
Error below:

[06-Sep-2022 08:07:48 UTC] PHP Warning: imagecopyresampled() expects parameter 1 to be resource, null given in /home/aerialda/public_html/webassist/caching/CachedResize_Image.php on line 199
[06-Sep-2022 08:07:48 UTC] PHP Warning: imagejpeg() expects parameter 1 to be resource, null given in /home/aerialda/public_html/webassist/caching/CachedResize_Image.php on line 219
[06-Sep-2022 08:07:48 UTC] PHP Warning: Division by zero in /home/aerialda/public_html/webassist/caching/CachedResize_Image.php on line 274
[06-Sep-2022 08:07:48 UTC] PHP Warning: Division by zero in /home/aerialda/public_html/webassist/caching/CachedResize_Image.php on line 274
[06-Sep-2022 08:07:48 UTC] PHP Warning: Division by zero in /home/aerialda/public_html/webassist/caching/CachedResize_Image.php on line 278

Thanks,
Eric

Sign in to reply to this post

Ray BorduinWebAssist

This might be fixed in the latest version of the webassist/caching/CachedResize_Image.php file. I've attached the latest version for you to try.

Attached Files
CachedResize_Image.php
Sign in to reply to this post
Did this help? Tips are appreciated...

eric284736

Thanks Ray!!

Sign in to reply to this post

eric284736

Hi ay,

I am getting one more error - the last line with the fatal error. This is on the pp_confirm.php page from the PayPal checkout. Any ideas?

THanks,
Eric

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WAPPECOPFProHTTPObject has a deprecated constructor in /home/aerialda/public_html/WA_eCart/PP_ECO_Scripts/PP_ECO_PHP.php on line 801

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WA_InsertParams has a deprecated constructor in /home/aerialda/public_html/WA_eCart/WA_eCart_Database_PHP.php on line 3

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WA_WhereClause has a deprecated constructor in /home/aerialda/public_html/WA_eCart/WA_eCart_Database_PHP.php on line 41

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WAUE_Log_Bindings has a deprecated constructor in /home/aerialda/public_html/webassist/email/mailformatting_php.php on line 2

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WAUE_Log_Event has a deprecated constructor in /home/aerialda/public_html/webassist/email/mailformatting_php.php on line 23

Fatal error: Cannot redeclare RemoveValue() (previously declared in /home/aerialda/public_html/webassist/email/WA_Email.php:720) in /home/aerialda/public_html/webassist/email/mailformatting_php.php on line 362

Sign in to reply to this post

Ray BorduinWebAssist

WA_Email.php replaced mailformatting_php.php... so they shouldn't both be needed. Maybe just delete any references to mailformatting_php.php.

Sign in to reply to this post
Did this help? Tips are appreciated...

eric284736

That fixed it but it shows an empty cart after the redirect from PayPal.

Sign in to reply to this post

Ray BorduinWebAssist

That usually happens when you start at www.yoursite.com and return to the site without the www. or the reverse. The best solution is to add an .htaccess file that forces the user to either always or never have the www. in front of the url.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...