[wp-trac] [WordPress Trac] #55776: sprintf missformat fatal error php 8

WordPress Trac noreply at wordpress.org
Thu May 19 09:55:56 UTC 2022


#55776: sprintf missformat fatal error php 8
-------------------------------+------------------------------
 Reporter:  ognjanovic         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  5.9.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  administration
-------------------------------+------------------------------

Comment (by ognjanovic):

 Replying to [comment:1 johnbillion]:
 > Thanks for the report @ognjanovic. Can you let us know the full fatal
 error message text, file name, line number, etc, please?

 Sure. Trying to edit any post or page you’ll get this error

 {{{
 2022/05/18 11:35:51 [error] 50#0: *5269743 FastCGI sent in stderr: "PHP
 message: PHP Fatal error:  Uncaught ValueError: Argument number specifier
 must be greater than zero and less than 2147483647 in /var/www/html/wp-
 admin/admin-header.php:62
 Stack trace:
 #0 /var/www/html/wp-admin/admin-header.php(62): sprintf()
 #1 /var/www/html/wp-admin/edit-form-advanced.php(425): require_once('...')
 #2 /var/www/html/wp-admin/post.php(206): require('...')
 #3 {main}
   thrown in /var/www/html/wp-admin/admin-header.php on line 62" while
 reading response header from upstream, client: 10.130.10.1, server:
 mpn.gov.rs, request: "GET /wp-admin/post.php?post=646&action=edit
 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host:
 "hidden.url", referrer: "https://hidden.url/wp-
 admin/edit.php?post_type=cpt"
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55776#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list