close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WA_Hash_Encryption has a deprecated constructor in

Thread began 4/22/2020 8:10 pm by James | Last modified 11/30/2022 10:18 am by Ray Borduin | 616 views | 5 replies |

James

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WA_Hash_Encryption has a deprecated constructor in

Hi, I saw several Topics for Messenger and something else, but nothing for security Assist.
I am getting this error at the moment.
Is there a fix / update for this?


<br />
<b>Deprecated</b>: Methods with the same name as their class will not be constructors in a future version of PHP; WA_Hash_Encryption has a deprecated constructor in <b>/home1/fms/public_html/webassist/security_assist/wa_hashencryption.php</b> on line <b>8</b><br />


Thanks
Jay

Sign in to reply to this post

Ray BorduinWebAssist

The latest version does have this file updated, but you would have to re-apply the hash validation to get it overwritten. I'll just attach the updated file here and you can replace it manually.

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

James

Thank you!

Sign in to reply to this post

Dave BuchholzBeta Tester

Ray,

just to follow up on this I am seeing the following extra error messages in one the sites I manage:

[23-Nov-2022 14:08:03 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WA_SECURITYASSIST_MAILOBJ has a deprecated constructor in /home/*****/public_html/WA_SecurityAssist/Mail_PHP.php on line 39
[23-Nov-2022 09:08:03 America/New_York] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; eCart1_Definition has a deprecated constructor in /home/*****/public_html/WA_eCart/eCart1_PHP.php on line 3
[23-Nov-2022 09:08:03 America/New_York] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; eCart1_ItemDefinition has a deprecated constructor in /home/*****/public_html/WA_eCart/eCart1_PHP.php on line 256
[23-Nov-2022 09:08:03 America/New_York] 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/*****/public_html/WA_eCart/WA_eCart_Definition_PHP.php on line 4
[23-Nov-2022 09:08:03 America/New_York] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WA_eCartDefinition has a deprecated constructor in /home/*****/public_html/WA_eCart/WA_eCart_Definition_PHP.php on line 19
[23-Nov-2022 09:08:03 America/New_York] 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/*****/public_html/WA_eCart/WA_eCart_Definition_PHP.php on line 1000

Is there a fix for this in the works ?

Sign in to reply to this post

Ray BorduinWebAssist

Yes these warnings have been addressed in the latest versions of the extensions. Download and install the latest version of eCart and Databridge then update your cart object and re-upload the files referenced in the error.

It looks like you would also have to update an email server behavior to get the email include updated.

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

Dave BuchholzBeta Tester

Thanks Ray, have updated accordingly

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