Quantcast
Channel: Comentarios en: Mostrar contenido en WordPress según el usuario que está conectado
Viewing all articles
Browse latest Browse all 75

Por: Emma

$
0
0

Buenas,

Este código me ha funcionado hasta la versión de PHP 7.1, pero con la versión 7.3 da este error:

Warning: Use of undefined constant USUARIO- assumed ‘USUARIO’ (this will throw an Error in a future version of PHP) in /home/CARPETA/public_html/wp-content/themes/MI-child/functions.php on line 200

En la línea 200 se encuentra el código:
if ($usuario === USUARIO ) {

Warning: Cannot modify header information – headers already sent by (output started at /home/CARPETA/public_html/wp-content/themes/MI-child/functions.php:200) in /home/CARPETA/public_html/wp-includes/functions.php on line 6221

¿Alguna sugerencia?


Viewing all articles
Browse latest Browse all 75

Trending Articles