close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ecart ver 6.13 receive warnings in my error log using php 7.3.6 PHP

Thread began 2/03/2020 11:46 am by RMor41509037 | Last modified 2/11/2020 9:58 am by Ray Borduin | 132 views | 6 replies |

RMor41509037

ecart ver 6.13 receive warnings in my error log using php 7.3.6 PHP

Hi using ecart ver 6.13 and receive the warnings in my error log using php 7.3.6 everything works just posts these to error log
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WA_eCart_Rule has a deprecated constructor in /home/raceprotim/public_html/WA_eCart/WA_eCart_Definition_PHP.php on line 4
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WA_eCartDisplayCSSLooper has a deprecated constructor in /home/raceprotim/public_html/WA_eCart/WA_eCart_Definition_PHP.php on line 1000
PHP 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/raceprotim/public_html/WA_eCart/PP_ECO_Scripts/PP_ECO_PHP.php on line 1079
PHP Warning: number_format() expects parameter 1 to be float, string given in /home/raceprotim/public_html/WA_eCart/PP_ECO_Scripts/PP_ECO_PHP.php on line 74

Sign in to reply to this post

Ray BorduinWebAssist

These issues can probably be ignored. However I think they are fixed in the latest version. If you upgrade and install the latest version of eCart you can update it to fully support php 7 without errors.

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

RMor41509037

Hi Ray
Thanks for the reply. Is 6.13 not the latest version of Ecart?
Thanks
Randy

Sign in to reply to this post

Ray BorduinWebAssist

That is the latest version, but your cart was likely created with an older version (or you haven't reinstalled lately). I'd reinstall the latest version, then open your cart object and click OK to regenerate the code. Then upload the WA_eCart folder to the site and that should resolve these warning messages.

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

RMor41509037

Hi Ray
I have reinstalled but am still receiving warnings
The PP_ECO_PHP.php file is still same date stamp as it was before is it not getting updated with the reinstall?
These are the warnings
[09-Feb-2020 18:37:23 UTC] PHP 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/raceprotim/public_html/WA_eCart/PP_ECO_Scripts/PP_ECO_PHP.php on line 1079
[09-Feb-2020 18:37:23 UTC] PHP Warning: number_format() expects parameter 1 to be float, string given in /home/raceprotim/public_html/WA_eCart/PP_ECO_Scripts/PP_ECO_PHP.php on line 74
[09-Feb-2020 18:38:12 UTC] PHP 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/raceprotim/public_html/WA_eCart/PP_ECO_Scripts/PP_ECO_PHP.php on line 1079

Thank you
Randy

Sign in to reply to this post

Ray BorduinWebAssist

That file will update if you re-apply any of the paypal express checkout server behaviors. You can find them on the pp_confirm.php page. I've attached the newest version if you want to just overwrite it manually.

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

RMor41509037

Thank you Ray
That did the trick!

Sign in to reply to this post

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...