SchmitzIT
Well-known member
Hi,
I'm moving a forum between hosts. The forum currently is on xf 1.5. The old server ran PHP 5.6, where the earliest version offered by the new host is 7.4.
I received an error regarding a deprecated function and grabbed the latest update for the forum (xf 1.5 24). However, the issue persists. I cannot downgrade further, and currently the domain name points to the new server, so I cannot perform the upgrade on the forum anymore.
The file it points to containing/throwing the error is /library/Zend/Registry.php:206, which has the following line in it:
PHP documentation suggests replacing with isset or property_exists. How would I rewrite the line above to allow me to continue the forum upgrade, please?
Thanks!
/Peter
I'm moving a forum between hosts. The forum currently is on xf 1.5. The old server ran PHP 5.6, where the earliest version offered by the new host is 7.4.
I received an error regarding a deprecated function and grabbed the latest update for the forum (xf 1.5 24). However, the issue persists. I cannot downgrade further, and currently the domain name points to the new server, so I cannot perform the upgrade on the forum anymore.
The file it points to containing/throwing the error is /library/Zend/Registry.php:206, which has the following line in it:
return array_key_exists($index, $this);
PHP documentation suggests replacing with isset or property_exists. How would I rewrite the line above to allow me to continue the forum upgrade, please?
Thanks!
/Peter