PHP upgrade from 7.4.33 to 8.1 higher crashes my site
-
Dear kind community,
upon doing the upgrade, I get the following error message when trying to sign into my site:
Warning: Constant WP_POST_REVISIONS already defined in /home/customer/www/…/public_html/wp-config.php on line 91
I followed @threadi first suggestion made in his contribution to
https://www.ads-software.com/support/topic/help-php-warning-constant-wp_post_revisions-already-defined/
and commented the line 91 by adding the first two characters//define( ‘WP_POST_REVISIONS’, 3 );
I could then carry out the PHP upgrade to 8.1.26.
I don’t have in Code Snippets or anyhow added / defined wp-post_revisions, so I wonder whether commenting this line in wp-config.php , doesn’t create unforeseen issues elsewhere (issues I can’t be aware of).
Please kindly advise of which consequences to check for.Many thanks!
Monica
- The topic ‘PHP upgrade from 7.4.33 to 8.1 higher crashes my site’ is closed to new replies.