Avisos
Vaciar todo

Varios problemas con mi Wordpress  

 
Urko
 Urko
Usuario experto

No se que pasa, que tengo muchos problemas con mi Wordpress.

Para empezar, y por no comentar todos ellos, comentaré los que ahora mismo, más me afectan.

Utilizo desde hace tiempo el plugin faster image insert para subir las imágenes desde hace tiempo, pero últimamente me da un error http cada vez que intento subir una imagen.

Además, estoy intentando cambiar el aspecto de mi web con las opciones del tema (como cambiar el fondo y el logo) y cada vez que le doy a cambiar los cambios, se queda pensando, y los cambios no se realizan.

Hice un backup desde el Cpanel esta mañana antes de actualizar el tema, por si tenía que recuperar estilos, pero al parecer no se guardan los estilos en el backup.

Según me han comentado tengo estos errores PHP, que no se como solucionar, y que no se si tendría algo que ver en todas as cosas que fallan ultimamente en mi wordpress:

[29-Sep-2014 18:12:49 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:13:56 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:15:02 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:16:02 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:17:02 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:18:01 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:19:09 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:20:18 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:21:24 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:22:34 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:07:32 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:07:33 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:07:34 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:07:52 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:12:58 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:13:01 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:21:17 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:21:21 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:21:21 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:21:22 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 17:48:38 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 17:48:51 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 17:49:03 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 17:49:39 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 17:57:28 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 17:58:24 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 17:59:14 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:05:19 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:07:27 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2
[29-Sep-2014 18:12:14 UTC] PHP Parse error: syntax error, unexpected ')' in /home2/elrinco3/public_html/wp-includes/pomo/translations.php(171) : runtime-created function on line 2

URL del sitio: Contenido solo visible a usuarios registrados

Citar
Respondido : 29/09/2014 11:34 pm
Johnny Heredia Montiel
 Johnny Heredia Montiel
Miembro Moderator

Hola,

Sobre el error que muestras parece ser un problema de sintaxis, tendrias que verificar la linea que indica el fichero que al parecer no tiene correctamente cerrado algún contenedor.

Sobre el error que comentas de las imágenes tendrias que enviarnos una captura para poder revisarlo.

ResponderCitar
Respondido : 30/09/2014 8:01 am

optimiza-automaticamente-todas-las-imagenes-de-tu-wordpress

Urko
 Urko
Usuario experto

Aquí tenéis el mensaje que me salta:

En cuanto al error PHP, lo he revisado, y me sale esto, no encuentro que es lo que está mal, os indico en rojo la linea donde me da el error:

/**
* Makes a function, which will return the right translation index, according to the
* plural forms header
*/
function make_plural_form_function($nplurals, $expression) {
$expression = str_replace('n', '$n', $expression);
$func_body = "
$index = (int)($expression);
return ($index < $nplurals)? $index : $nplurals - 1;";
return create_function('$n', $func_body);
}

/**
* Adds parentheses to the inner parts of ternary operators in
* plural expressions, because PHP evaluates ternary oerators from left to right
*

ResponderCitar
Respondido : 30/09/2014 8:10 am
Jordi Sala
 Jordi Sala
Miembro Admin

Hola Urko,

https://wordpress.org/support/topic/php-parse-error-syntax-error
¿Tienes instalado https://wordpress.org/plugins/daves-wordpress-live-search/ ?

Saludos

ResponderCitar
Respondido : 30/09/2014 11:29 am

Gestor de Contraseñas - VPN Conexión Segura - Gestor 2FA (Segundo Factor de Autenticación

Urko
 Urko
Usuario experto

No, no lo tengo instalado... ¿debería? XD

PD: Ah, vale ya veo que no es recomendable, pero no, el error no se debe a ese plugin por que no lo tengo instalado.

ResponderCitar
Respondido : 30/09/2014 12:15 pm
Pablo Velasco
 Pablo Velasco
Illustrious Member

Hola,

El archivo que da el error es del propio WordPress, no de un plugin añadido, aunque es bastante posible que el problema sí que esté relacionado con algún plugin que tengas instalado en tu web.

En primer lugar, antes de aplicar cambios, haz una copia de seguridad completa de tu web.

A continuación, verifica si ya tienes la última versión de WordPress instalada y, de no ser así, actualiza WordPress.

Después tendrás que verificar que todas los plugins que tengas sean compatibles con la versión de WordPress que estás usando y actualizarlos en caso necesario.

Dado que es posible que los problemas estén relacionados con algún plugin podrías probar a ir desactivando plugins para ver si el problema se soluciona.

Una última posibilidad estaría en que el problema esté en el tema de WordPress que estés usando, en especial si este es viejo.

Supongo que no has realizado cambios en el código de Wordpress.

ResponderCitar
Respondido : 30/09/2014 1:51 pm

wpdoctor-revisa-la-salud-de-tu-wordpress

Urko
 Urko
Usuario experto

No, no he modificado el wordpress para nada, y tengo la última versión instalada.

Iré probando lo de desactivar plugins. A ver si hay suerte.

PD: Parece haberse solucionado. El plugin que me daba problemas era el WP Symposium Toolbar. Lo he borrado, e incluso me deja instalar otra vez el jetpack. Menos mal.

Gracias!!!

ResponderCitar
Respondido : 30/09/2014 3:19 pm