Un usuario preguntó 👇
¡Hola!
He visto que muchas personas han tenido un problema similar, ¡pero sus soluciones no se aplican a mi sitio web!
¡Tengo PHP 7.4 y mi error de sintaxis está en el archivo wp-config!
Lo edité para agregar wp_memory_limit de 96 y se rompió. Ahora entiendo esto:
Error de análisis: error de sintaxis, ‘*’ inesperado, se espera el final del archivo en /usr/home/singlutenismo.com/web/wp-config.php en línea 4
Si vuelvo a 64M no importa, no lo arregla.
Aquí están las primeras líneas de mi archivo 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
*/
¿Alguien puede ayudarme, por favor?
(@tp)
Hace 2 meses, 3 semanas
Prueba esto:
<?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
*/
¿Solucionó tu problema??
0 / 0