Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #60988


Ignore:
Timestamp:
04/10/2024 10:06:52 PM (7 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60988

    • Property Status changed from new to closed
    • Property Version changed from 6.5 to
    • Property Milestone changed from Awaiting Review to
    • Property Keywords needs-patch removed
    • Property Resolution changed from to duplicate
  • Ticket #60988 – Description

    initial v2  
    1 After upgrading to 6.5, and still on 6.5.2, when opening any page or post for edition in wp-admin, I'm getting many php warnings in the Apache error log referring to wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php.
     1After upgrading to 6.5, and still on 6.5.2, when opening any page or post for edition in `wp-admin`, I'm getting many PHP warnings in the Apache error log referring to `wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php`.
    22
    33However, it does not seem, so far, to have any noticeable effect in the normal edition workflow.
     
    99
    1010Here, an excerpt from the log:
    11 
     11{{{
    1212[Wed Apr 10 20:03:15.663768 2024] [proxy_fcgi:error] [pid XXXXX:tid XXXXXXXXXXXXXXXXX] [remote XXXXXXXXXXXXXXXXXX] AH01071: Got error 'PHP message: PHP Warning:  Attempt to read property "id" on null in /var/www/mysite/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php on line 647;
    1313PHP message: PHP Warning:  Attempt to read property "theme" on null in /var/www/mysite/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php on line 651;
     
    3333PHP message: PHP Warning:  Attempt to read property "type" on null in /var/www/mysite/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php on line 769;
    3434PHP message: PHP Warning:  Attempt to read property "type" on null in /var/www/mysite/wp-includes/rest-api/endpoints/ .......(many more)', referer: https://mysite.com/wp-admin/post.php?post=11209&action=edit&lang=es
     35}}}