Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

unexpected integer "1" wp-includes/pomo/mo.php on line 105

Checked on my WordPress site today to find an HTTP 500 error.

2022/04/12 02:12:05 [error] 878#878: *5 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected integer "1" in /var/www/domain.net/htdocs/wp-includes/pomo/mo.php on line 105PHP message: PHP Parse error:  syntax error, unexpected integer "1" in /var/www/domain.net/htdocs/wp-includes/pomo/mo.php on line 105" while reading response header from upstream, client: 162.158.62.41, server: domain.net, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.0-fpm.sock:", host: "domain.net"

Line 105 in that WordPress file is:

$total                     = count( $entries )   1; // All the headers are one entry.

WordPress version 5.9.3

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

PHP version 8.0.3

>Solution :

My local wordrpess has this as that line…

$total                     = count( $entries ) + 1; // All the headers are one entry.

I think your file has been tampered with

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading