Plugin is not PHP 7.4 ready
-
This plugin is not ready for PHP 7.4 is shows lots of errors.
a) It assumes that ONTRAPORT is set up correctly.
b) piliotpress the class outputs headers before trying to start a session.
$this->ppp = new PPProtect(); outputs header content echo $catFoot; so the $this->start_session(); will throw the PHP error headers already sent. $this->start_session(); needs to come before the $this->ppp = new PPProtect();c) The cookkie contact_id is assumed as being set in numerous places, when sometimes it may not exist. This also causes a lot of undefined index contact_id errors.
The entire pilotpress.php needs rewriting PHP 7.4 is much stricter you need to takie into account that the cookies may not be set. Many if the user cookies that start with user_ also throw undefined index errors.
I have managed to patch most of these errors on my clients sites, but you really need to address these issues.
- The topic ‘Plugin is not PHP 7.4 ready’ is closed to new replies.