WordPress does not work on PHP above 7.1
-
My WordPress installation does not work on a php version above 7.1.
When I define any version above this I get the error:
Warning: Use of undefined constant WP_CONTENT_DIR – assumed ‘WP_CONTENT_DIR’ (this will throw an Error in a future version of PHP) in /home/user/public_html/site/wp-includes/load.php on line 141
Parece que em sua instala??o do PHP está faltando a extens?o MySQL, que é requisitada pelo WordPress.Deprecated: Directive ‘allow_url_include’ is deprecated in Unknown on line 0
* Other sites hosted on the same Cpanel do not have the error.
* A newly installed website does not present the error.I’ve already tried:
* Disable all plugins.
* Set the default theme.
* Reinstall WordPress.
* Copy files from another website that was working.Nothing did.
I believe it is something in the database. there is no other explanation.
- The topic ‘WordPress does not work on PHP above 7.1’ is closed to new replies.