PHP problem when install emailform
Author: Marc S.
Visited 1977,
Followers 2,
Shared 0
error: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; imPrivateArea has a deprecated constructor in /srv/disk2/2766569/www/voorbeeldwoningen.be/res/x5engine.php on line 1176
When using the form and also when trying to log in at cofiguration screen at www.voorbeeldwoningen.be/admin
voorbeeldwoningen.be is my domain.
Posted on the
Hi Marc.
This is but a mere warning that will impact your website in no experienceable way. You can stay safe that the website will work correctly anyway.
As the code is always evolving, the developers are always working in order to keep everything up to the most recent standards, and features such as this will see sure improvements in future updates
Thank you for your feedback
Stefano
Author
The text appears at my customer's screen after he filled out the form and clicked send. In other words, nobody can fill out the form. I didn't had this prob earlier with another website. Now i have a this host "Awardspace" . wich PHP must i take? Now it is set to 7.0.30 .
Hi Marc.
If you can see this in your page after sending the form, most probably "WARNINGS" are active on your server.
Please contact your hosting and see if you or them can turn those off so that it shouldn't pop out anymore on the pages you're visiting
Try this and get back to me here
Thank you
Stefano
Author
I asked at the hosting and this is what they anwsered:
The reason for this issue is due the fact your site requires an older version of PHP since the function which it is using are not written for the newest PHP version. What you can do to resolve this issue is to either updated your CMS to the latest possible version or change the PHP version with an older one:
https://cp1.awardspace.net/beta/php-settings/
On the controle panel I can choose out of 8 diff. PHP versions between
5.3.29 and 7.2.7 and actually it's set for. 7.0.30
Kind regards
Marc
Hi Marc.
If you wish to completely remove the warning, you could try lowering the version of your PHP.
As I said though, the error won't be affecting your website as long as you "DISABLE WARNINGS" on your hosting.
If you're unsure how to proceed with that, please contact your hosting's support again, so that they might guide you through it.
Keep me posted after they got back to you
Thank you
Stefano
Author
Problem is solved only... I don't know how I did it. I lnow I went through all settings at the (host) controle panel, reinstalled the new email account etc. Then I tested it and yeah it worked.