Error after 14.6 automatic upgrade
-
After the last upgrade (April 11th), a website that has this plugin stopped working showing the critical error page. I had to move the plugin somewhere else in the server for the site to load. I tried deactivating it using wp-cli but it didn’t work:
$ wp plugin deactivate wp-statistics --allow-root PHP Parse error: syntax error, unexpected ')' in /var/www/..../wp-content/plugins/wp-statistics/includes/admin/meta-box/wp-statistics-meta-box-hitsmap.php on line 50 Parse error: syntax error, unexpected ')' in /var/www/.../wp-content/plugins/wp-statistics/includes/admin/meta-box/wp-statistics-meta-box-hitsmap.php on line 50 Error: Ha habido un error crítico en esta web.Aprende más sobre el diagnóstico de WordPress. Ha habido un error crítico en esta web.
I’ve activated WP debug mode and this is the message I’m getting (either on the page or debug.log):
Parse error: syntax error, unexpected '?' in /var/www/.../wp-content/plugins/wp-statistics/includes/class-wp-statistics-option.php on line 268 Notice: La función is_embed ha sido llamada de forma incorrecta. Las etiquetas de las consultas condicionales no funcionan antes de ejecutar la consulta. Haciéndolo antes, siempre devuelven falso. Por favor, ve depuración en WordPress para más información. (Este mensaje fue a?adido en la versión 3.1.0). in /var/www/.../wp-includes/functions.php on line 5866 Notice: La función is_search ha sido llamada de forma incorrecta. Las etiquetas de las consultas condicionales no funcionan antes de ejecutar la consulta. Haciéndolo antes, siempre devuelven falso. Por favor, ve depuración en WordPress para más información. (Este mensaje fue a?adido en la versión 3.1.0). in /var/www/.../wp-includes/functions.php on line 5866
Can someone tell me what could be happening and (preferably) how to fix it? I will definitely be deactivating automatic updates after this but I haven’t seen this message in the forum.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Error after 14.6 automatic upgrade’ is closed to new replies.