Title: error:FastCGI sent in stderr: &#8220;PHP message: PHP Warning:
Last modified: July 5, 2023

---

# error:FastCGI sent in stderr: “PHP message: PHP Warning:

 *  Resolved [alexliii](https://wordpress.org/support/users/alexliii/)
 * (@alexliii)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/errorfastcgi-sent-in-stderr-php-message-php-warning/)
 *     ```wp-block-code
       2023/07/05 10:34:37 [error] 18506#18506: *2930 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406; PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "GET /wp-json/media-file-renamer/v1/media?limit=100&skip=0&filterBy=unlocked&orderBy=id&order=asc&search= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?page=mfrh_dashboard"
       ```
   
 * Hello,
 * Could you fix?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/errorfastcgi-sent-in-stderr-php-message-php-warning/#post-16872763)
 * Hi,
 * I could fix this, and avoid the error, but not having this _file_ in the _metadata_
   means that your media entry is basically broken. Does this happen with every 
   media entry?
 *  Thread Starter [alexliii](https://wordpress.org/support/users/alexliii/)
 * (@alexliii)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/errorfastcgi-sent-in-stderr-php-message-php-warning/#post-16885160)
 * Hello,
 * Some errors happens when accessing the **Media File Renamer | Dashboard**, and
   some happen when click pagenation, and some happens when bulk rename the images,
   for your debug purpose, Here are full debug errors for refereance.
 * Some images are from photo reviews by the plugin at [https://wordpress.org/plugins/woo-photo-reviews/](https://wordpress.org/plugins/woo-photo-reviews/),
   but quite sure the images exist:
 *     ```wp-block-code
       2023/07/11 01:30:03 [error] 17631#17631: *78726 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406; PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "GET /wp-json/media-file-renamer/v1/media?limit=25&skip=0&filterBy=unlocked&orderBy=id&order=asc&search= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?page=mfrh_dashboard"
   
       2023/07/11 01:30:42 [error] 17631#17631: *78729 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "GET /wp-json/media-file-renamer/v1/media?limit=25&skip=50&filterBy=unlocked&orderBy=id&order=asc&search= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?page=mfrh_dashboard"
   
       2023/07/11 01:31:12 [error] 17629#17629: *78738 FastCGI sent in stderr: "PHP message: WordPress database error Unknown column 'meta_value' in 'field list' for query UPDATE wp_posts 
   
                               SET meta_value = '2023/07/mysite99385and1798498a5efaedd3bc734c178481b8143dd57d4ew.jpg'
   
                               WHERE ID IN ('1853232') made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Meow_MFRH_Rest->rest_rename, Meow_MFRH_Core->rename, Meow_MFRH_Core->call_post_actions, Meow_MFRH_Core->call_hooks_rename_url, do_action('mfrh_url_renamed'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_MFRH_Updates->action_update_postmeta" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "POST /wp-json/media-file-renamer/v1/rename HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?page=mfrh_dashboard"
   
       2023/07/11 01:31:19 [error] 17629#17629: *78738 FastCGI sent in stderr: "PHP message: WordPress database error Unknown column 'meta_value' in 'field list' for query UPDATE wp_posts 
   
                               SET meta_value = '2023/07/mysite99385and1798498a4ffef6732b1440238f3cdc765ef8c5ack.jpg'
   
                               WHERE ID IN ('1853231') made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Meow_MFRH_Rest->rest_rename, Meow_MFRH_Core->rename, Meow_MFRH_Core->call_post_actions, Meow_MFRH_Core->call_hooks_rename_url, do_action('mfrh_url_renamed'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_MFRH_Updates->action_update_postmeta" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "POST /wp-json/media-file-renamer/v1/rename HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?page=mfrh_dashboard"
   
       2023/07/11 01:31:37 [error] 17629#17629: *78738 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "POST /wp-json/media-file-renamer/v1/rename HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?page=mfrh_dashboard"
   
       2023/07/11 01:33:56 [error] 17629#17629: *78738 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "GET /wp-json/media-file-renamer/v1/media?limit=25&skip=50&filterBy=unlocked&orderBy=id&order=asc&search= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?page=mfrh_dashboard"
   
       2023/07/11 01:35:00 [error] 17632#17632: *79008 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406; PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "GET /wp-json/media-file-renamer/v1/media?limit=25&skip=75&filterBy=unlocked&orderBy=id&order=asc&search= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?page=mfrh_dashboard"
   
       2023/07/11 01:37:16 [error] 17632#17632: *79022 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "POST /wp-json/media-file-renamer/v1/rename HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?page=mfrh_dashboard"
   
       2023/07/11 01:37:17 [error] 17632#17632: *79022 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "POST /wp-json/media-file-renamer/v1/rename HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?page=mfrh_dashboard"
   
       2023/07/11 01:37:26 [error] 17632#17632: *79022 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406; PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "GET /wp-json/media-file-renamer/v1/media?limit=25&skip=75&filterBy=unlocked&orderBy=id&order=asc&search= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?page=mfrh_dashboard"
       ```
   
 * Thanks
 *  Thread Starter [alexliii](https://wordpress.org/support/users/alexliii/)
 * (@alexliii)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/errorfastcgi-sent-in-stderr-php-message-php-warning/#post-16885179)
 * Errors also happens when access wordpress media library:
 *     ```wp-block-code
       2023/07/11 01:48:36 [error] 17629#17629: *79393 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "POST /wp-json/media-file-renamer/v1/analyze HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php"
   
       2023/07/11 01:48:48 [error] 17629#17629: *79393 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "POST /wp-json/media-file-renamer/v1/analyze HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php"
   
       2023/07/11 01:49:18 [error] 17629#17629: *79393 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "POST /wp-json/media-file-renamer/v1/analyze HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?paged=2"
   
       2023/07/11 01:49:34 [error] 17629#17629: *79393 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "POST /wp-json/media-file-renamer/v1/analyze HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?paged=2"
   
       2023/07/11 01:49:35 [error] 17629#17629: *79393 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "file" in /var/www/mysite.com/htdocs/wp-content/plugins/media-file-renamer-pro/classes/rest.php on line 406" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "POST /wp-json/media-file-renamer/v1/analyze HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php82-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/upload.php?paged=2"
       ```
   
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/errorfastcgi-sent-in-stderr-php-message-php-warning/#post-16888891)
 * I will release a new version soon, and when there is no metadata, I will use 
   an alternative way to get the data I need.
 * Note: I still don’t know why this would happen, but it’s not an issue on Media
   File Renamer side. Normally, Media entries always have metadata. That said, plugins
   can’t do whatever they like 🙂
 *  Thread Starter [alexliii](https://wordpress.org/support/users/alexliii/)
 * (@alexliii)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/errorfastcgi-sent-in-stderr-php-message-php-warning/#post-16914428)
 * Sorry for missing this message.
 * Any plan to release the new version?
 * By the way, it would be great if there is a status showing up when running:
 * wp media-file-renamer rename_all –allow-root
 * Otherwise, there will be nothing showing up if there are 20g images on server
   to be renamed, and please check the screenshot to understand what I mean:
   [https://prnt.sc/kASeLztgU31H](https://prnt.sc/kASeLztgU31H)
 * Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘error:FastCGI sent in stderr: “PHP message: PHP Warning:’ is closed to
new replies.

 * ![](https://ps.w.org/media-file-renamer/assets/icon-256x256.png?rev=2791577)
 * [Media File Renamer: Rename for better SEO (AI-Powered)](https://wordpress.org/plugins/media-file-renamer/)
 * [Support Threads](https://wordpress.org/support/plugin/media-file-renamer/)
 * [Active Topics](https://wordpress.org/support/plugin/media-file-renamer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-file-renamer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-file-renamer/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [alexliii](https://wordpress.org/support/users/alexliii/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/errorfastcgi-sent-in-stderr-php-message-php-warning/#post-16914428)
 * Status: resolved