Hi, I’m using SiteGround for hosting. I’d like to switch to PHP 7. SiteGround does a check on the sites for compatibility. It shows 2 warnings for MicroThemer 4.9.7.8:
FILE: /home/blyxum90/domains/kekkecampers.nl/wp-content/plugins/microthemer/includes/class-json.php
—————————————————————————————————
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
—————————————————————————————————
36 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
367 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
—————————————————————————————————
Thanks for reporting this. I’ve replaced the PHP4 constructors in the file you mentioned with PHP 5-7 compatible constructors. I’ve done this on the new version 5, which will be released in a matter of days. Would you like to try it now?
I’d really appreciate it if you could let me know what the SiteGround check returns.
Hi, the SiteGround check can take a while. I’ve had sites taking hours. I’ve installed 5.0.0.2 in a minimalistic sandbox, but the check hasn’t finished yet. If it will, I’ll let you know.