Un utilisateur a demandé 👇
Salut!
J’ai vu que beaucoup de personnes ont eu un problème similaire, mais leurs solutions ne s’appliquent pas à mon site Web !
J’ai PHP 7.4 et mon erreur de syntaxe se trouve dans le fichier wp-config !
Je l’ai modifié pour ajouter wp_memory_limit de 96 et il s’est cassé. Maintenant je comprends ceci :
Erreur d’analyse : erreur de syntaxe, ‘*’ inattendu, fin de fichier attendue à /usr/home/singlutenism.com/web/wp-config.php à la ligne 4
Si je retourne à 64M ça n’a pas d’importance, ça ne résout pas le problème.
Voici les premières lignes de mon fichier wp-config :
<?php
define('WP_CACHE', true); // Added by WP Rocket/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, and ABSPATH. You can find more information by visiting
* {@link https://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php}
* Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/
Quelqu’un peut-il m’aider s’il vous plaît?
(@tp)
il y a 2 mois, 3 semaines
Essaye ça:
<?php
define('WP_CACHE', true); // Added by WP Rocket
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, and ABSPATH. You can find more information by visiting
* {@link https://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php}
* Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/
Cela a-t-il résolu votre problème ?
Was this helpful?
0 / 0