Title: REST API: Fix fatal error when making HEAD requests with _fields filter.
Author: WordPress.org GitHub Actions
Published: 2025-03-11

---

#  REST API: Fix fatal error when making HEAD requests with _fields filter.

[← Test Results](https://make.wordpress.org/hosting/test-results/)

 [ r59970 ](https://core.trac.wordpress.org/changeset/59970): REST API: Fix fatal
error when making HEAD requests with _fields filter.

  |  Status |  PHP Version |  Database Version |  
   |   [Hoasted](https://www.hoasted.com/)  |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/hoasted-r59970-8-3-mysql-ver-15-1-distrib-10-11-10-mariadb-for-linux-x86_64-using-readline-5-1/)  |  PHP 8.3.13 |  mysql Ver 15.1 Distrib 10.11.10-MariaDB |  
 |   [dhdreampressbot](https://make.wordpress.org/hosting/test-results/)  |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/dhdreampressbot-r59970-8-3-mysql-ver-8-0-40-0ubuntu0-22-04-1-for-linux-on-x86_64-ubuntu/)  |  PHP 8.3.15 |  mysql Ver 8.0.40-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu)) |  
 |   [Bluehost](https://www.bluehost.com)  |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/bluehostbot-r59970-8-2-mysql-ver-14-14-distrib-5-7-23-23-for-linux-x86_64-using-6-2/)  |  PHP 8.2.18 |  mysql Ver 14.14 Distrib 5.7.23-23 |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/bluehostbot-r59970-8-1-mysql-ver-14-14-distrib-5-7-23-23-for-linux-x86_64-using-6-2/)  |  PHP 8.1.28 |  mysql Ver 14.14 Distrib 5.7.23-23 |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/bluehostbot-r59970-8-3-mysql-ver-14-14-distrib-5-7-23-23-for-linux-x86_64-using-6-2/)  |  PHP 8.3.6 |  mysql Ver 14.14 Distrib 5.7.23-23 |  
 |   [Cloudways](https://www.cloudways.com/en/)  |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/cloudwaystests-r59970-7-4-mysql-ver-15-1-distrib-10-11-11-mariadb-for-debian-linux-gnu-x86_64-using-editline-wrapper/)  |  PHP 7.4.33 |  mysql Ver 15.1 Distrib 10.11.11-MariaDB |  
 |   [WordPress.org GitHub Actions](https://github.com/WordPress/wordpress-develop/actions/)  |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/wpdevbot-r59970-8-3-unknown/)  |  PHP 8.3.17 |  Unknown |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/wpdevbot-r59970-7-2-unknown/)  |  PHP 7.2.34 |  Unknown |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/wpdevbot-r59970-8-2-unknown/)  |  PHP 8.2.27 |  Unknown |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/wpdevbot-r59970-8-1-unknown/)  |  PHP 8.1.31 |  Unknown |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/wpdevbot-r59970-7-4-unknown/)  |  PHP 7.4.33 |  Unknown |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/wpdevbot-r59970-8-0-unknown/)  |  PHP 8.0.30 |  Unknown |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/wpdevbot-r59970-7-3-unknown/)  |  PHP 7.3.33 |  Unknown |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/wpdevbot-r59970-8-4-unknown/)  |  PHP 8.4.4 |  Unknown |  
 |   [SAKURA internet](https://www.sakura.ne.jp)  |  
 |   [ Failed ](https://make.wordpress.org/hosting/test-results/r59970/sakurabot-r59970-8-2-mysql-ver-8-0-35-for-freebsd11-2-on-amd64-source-distribution/)  |  PHP 8.2.20 |  mysql Ver 8.0.35 for FreeBSD11.2 on amd64 (Source distribution) |  
 |   [WP.one](https://wp.one/)  |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/wpcloudbot-r59970-8-2-mysql-ver-8-0-41-0ubuntu0-20-04-1-for-linux-on-x86_64-ubuntu/)  |  PHP 8.2.27 |  mysql Ver 8.0.41-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu)) |  
 |   [WPMU DEV](https://wpmudev.com)  |  
 |   [ Failed ](https://make.wordpress.org/hosting/test-results/r59970/wpmudevbot-r59970-8-1-mysql-ver-15-1-distrib-10-6-18-mariadb-for-debian-linux-gnu-x86_64-using-editline-wrapper/)  |  PHP 8.1.31 |  mysql Ver 15.1 Distrib 10.6.18-MariaDB |  
 |   [ Failed ](https://make.wordpress.org/hosting/test-results/r59970/wpmudevbot-r59970-8-2-mysql-ver-15-1-distrib-10-6-18-mariadb-for-debian-linux-gnu-x86_64-using-editline-wrapper/)  |  PHP 8.2.27 |  mysql Ver 15.1 Distrib 10.6.18-MariaDB |  
 |   [ Failed ](https://make.wordpress.org/hosting/test-results/r59970/wpmudevbot-r59970-8-3-mysql-ver-15-1-distrib-10-6-18-mariadb-for-debian-linux-gnu-x86_64-using-editline-wrapper/)  |  PHP 8.3.17 |  mysql Ver 15.1 Distrib 10.6.18-MariaDB |  
 |   [Indystack](https://indystack.com/)  |  
 |   [ Passed ](https://make.wordpress.org/hosting/test-results/r59970/indystack-r59970-8-1-mysql-ver-8-0-40-for-linux-on-x86_64-mysql-community-server-gpl/)  |  PHP 8.1.2-1ubuntu2.20 |  mysql Ver 8.0.40 for Linux on x86_64 (MySQL Community Server - GPL) |

## Post navigation

[← conetixbot – r59969 – 8.2 – mysql Ver 15.1 Distrib 10.11.10-MariaDB, for Linux (x86_64) using EditLine wrapper](https://make.wordpress.org/hosting/test-results/r59969/conetixbot-r59969-8-2-mysql-ver-15-1-distrib-10-11-10-mariadb-for-linux-x86_64-using-editline-wrapper/)

[wpdevbot – r59970 – 8.3 – Unknown →](https://make.wordpress.org/hosting/test-results/r59970/wpdevbot-r59970-8-3-unknown/)