A few days ago I migrated a test clone of my website to thirtybees, I had some problems with my Blowfish and Cookie class when trying to acces the BO and FO.
Error :
PHP Recoverable fatal error:ObjectofclassBlowfish could not be converted to stringin/home/shops/public_html/testclone/classes/Cookie.php on line 282
To resolve this error I created a toString method in both my Blowfish class and my CryptBlowfish class. It got rid of the errors and everything is working fine, but i'm wondering if this is a good solution.
Could anyone tell me if this is fine or if I could apply a diffrent fix?
Question
Wesley
Hello,
A few days ago I migrated a test clone of my website to thirtybees, I had some problems with my Blowfish and Cookie class when trying to acces the BO and FO.
Error :
To resolve this error I created a toString method in both my Blowfish class and my CryptBlowfish class. It got rid of the errors and everything is working fine, but i'm wondering if this is a good solution.
Could anyone tell me if this is fine or if I could apply a diffrent fix?
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now