David Goodwin Posted November 9, 2022 Posted November 9, 2022 Hi - I'm trying to upgrade a 4.7.2 site running on PHP 7.4 to 4.7.4 on PHP 8.0. When I switch Apache over to use PHP 8 FPM, I get a white screen and an error like the below in the PHP error log file. [09-Nov-2022 21:15:10 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in .../public/htdocs/applications/rules/sources/Secure/Application.php The contents of this file look obfuscated - with plenty of base64 encoded stuff (to make me think it's almost possible it's malware) ... but I guess it's more likely to be some way of embeddeding a license key in the product? If I comment out the single line in this file, I get an error like : Class IPS\rules\Secure\Application could not be loaded. Ensure it has been properly prefixed with an underscore and is in the correct namespace. EX256 I had a quick search of the forum for references to this magical file, or to the EX256 but nothing came up. I have a feeling I need a new license key? Or is something else up? Thanks in advance David. (Image shows the commented out version of the file that triggers the above error; blob obfuscated in the middle ... just in case)
Solution Nathan Explosion Posted November 9, 2022 Solution Posted November 9, 2022 If 'Rules' = 'Automation Rules' then that's a dead application...long time ago. David Goodwin 1
Mark H Posted November 9, 2022 Posted November 9, 2022 I believe Nathan is on the right track, although it may be a similarly-named app from the same, or another, author. (Automation Rules was showing as being compatible only up to IPS v4.4, and you mention already being on v4.7.x.) But if that is the right app, and it's throwing those errors, I believe you may have to fully uninstall it, rather than simply disable it. David Goodwin 1
David Goodwin Posted November 10, 2022 Author Posted November 10, 2022 Thank you both! Sorry for being so clueless about the product.
Marc Posted November 10, 2022 Posted November 10, 2022 1 hour ago, David Goodwin said: Thank you both! Sorry for being so clueless about the product. We all had to learn somewhere 🙂
Recommended Posts