Jump to content

PW 3.0.123 & PHP 7.4.1


webcraft
 Share

Recommended Posts

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

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

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 ?

  • Like 2
Link to comment
Share on other sites

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.

  • Like 3
Link to comment
Share on other sites

  • 1 year later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...