webcraft Posted December 19, 2019 Share Posted December 19, 2019 Hi, please help, i updated to PHP 7.4.1 on CentOS 7.7.1908 Problem only one website in multisite configurations. Problem: After login: Deprecated: Function get_magic_quotes_gpc() is deprecated in .../wire/core/WireInputData.php on line 98 In webpage as guest Notice: Trying to access array offset on value of type int in .../wire/core/PagesLoader.php on line 138 Link to comment Share on other sites More sharing options...
Macrura Posted December 19, 2019 Share Posted December 19, 2019 Maybe take a look here: https://github.com/processwire/processwire-issues/issues/1041 https://github.com/processwire/processwire-issues/issues/943 You may need to either install a lower version of PHP, or upgrade to the dev branch latest. 3 Link to comment Share on other sites More sharing options...
webcraft Posted December 20, 2019 Author Share Posted December 20, 2019 thx, with 7.3.13 work all webs, wrong written requirements: ProcessWire software requirements A Unix or Windows-based web server running Apache (and others, see next section) PHP version 5.4 or newer with PDO database support (PHP 7+ preferable) MySQL or MariaDB, 5.0.15 or greater (5.5+ preferable) Apache must have mod_rewrite enabled (when applicable) Apache must support .htaccess files (when applicable) PHP's bundled GD 2 library (ImageMagick also supporte Link to comment Share on other sites More sharing options...
teppo Posted December 21, 2019 Share Posted December 21, 2019 To be fair PHP 7.4 has only been out for a few weeks. I'm not advocating sticking with old versions for any longer than is necessary, but as with most software, going with the cutting edge version of PHP is a bit of a risky move. I'd recommend giving it a few more weeks at least ? 2 Link to comment Share on other sites More sharing options...
webcraft Posted December 25, 2019 Author Share Posted December 25, 2019 OK thanx, I install php 7.3x Link to comment Share on other sites More sharing options...
adrian Posted December 29, 2019 Share Posted December 29, 2019 On 12/26/2019 at 7:30 AM, webcraft said: OK thanx, I install php 7.3x Why not use the dev version of PW instead? It's going to be released as the new stable/master version probably within the next week anyway. Would save you the effort of going back to 7.3. 3 Link to comment Share on other sites More sharing options...
adrian Posted January 3, 2020 Share Posted January 3, 2020 @webcraft - as of today, 3.0.148 is the new master version (https://processwire.com/download/core/) so please use that and you shouldn't have anymore PHP 7.4 issues. Link to comment Share on other sites More sharing options...
Rluiten Posted August 16, 2021 Share Posted August 16, 2021 As weird as this may sound.. I just downloaded the most current version of Processwire on the website, and did a local install with PHP Version 7.4.12 on my Macbook. I did get te same notice as an user had in 2019: Notice: Trying to access array offset on value of type int in /Users/USERNAME/Sites/www/sites/shop/wire/core/WireDatabasePDOStatement.php on line 107 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now