Title: Error Message in logs
Last modified: June 3, 2020

---

# Error Message in logs

 *  Resolved [PICHI1966](https://wordpress.org/support/users/josett225/)
 * (@josett225)
 * [6 years ago](https://wordpress.org/support/topic/error-message-in-logs/)
 * Hi There,
 * I have the lastest WordPress and Woocommerce installed and I am getting this 
   error message quite often :
    2020/06/03 19:45:07 [error] 118372#118372: *578623
   FastCGI sent in stderr: “PHP message: PHP Notice: Undefined index: action in /
   www/ridinfamily_458/public/wp-content/plugins/woo-order-status-per-product/admin/
   class-woo-order-status-for-items-admin.php on line 324PHP message: PHP Notice:
   Undefined index: post_type in /www/ridinfamily_458/public/wp-content/plugins/
   woo-order-status-per-product/admin/class-woo-order-status-for-items-admin.php
   on line 325” while reading response header from upstream, client: 91.166.105.227,
   server: [http://www.ridin-family.com](http://www.ridin-family.com), request: “
   POST /wp-login.php?action=lostpassword HTTP/1.0”, upstream: “fastcgi://unix:/
   var/run/php7.4-fpm-ridinfamily.sock:”, host: “www.ridin-family.com”, referrer:“
   [https://www.ridin-family.com/lost-password/&#8221](https://www.ridin-family.com/lost-password/&#8221);
 * 2020/06/03 19:02:42 [error] 118372#118372: *577672 FastCGI sent in stderr: “PHP
   message: PHP Notice: Undefined index: action in /www/ridinfamily_458/public/wp-
   content/plugins/woo-order-status-per-product/admin/class-woo-order-status-for-
   items-admin.php on line 324PHP message: PHP Notice: Undefined index: post_type
   in /www/ridinfamily_458/public/wp-content/plugins/woo-order-status-per-product/
   admin/class-woo-order-status-for-items-admin.php on line 325” while reading response
   header from upstream, client: 176.168.129.29, server: [http://www.ridin-family.com](http://www.ridin-family.com),
   request: “GET /activation/wWl4cw6uwvUQVja4duwRWnwYMD1tjgbe/?key=wWl4cw6uwvUQVja4duwRWnwYMD1tjgbe
   HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-ridinfamily.sock:”, 
   host: “www.ridin-family.com”, referrer: “[https://www.ridin-family.com/activation/wWl4cw6uwvUQVja4duwRWnwYMD1tjgbe/&#8221](https://www.ridin-family.com/activation/wWl4cw6uwvUQVja4duwRWnwYMD1tjgbe/&#8221);
 * Could you please help here?
 * Thanks
 * Jose

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

 *  Plugin Author [Dotstore](https://wordpress.org/support/users/dots/)
 * (@dots)
 * [6 years ago](https://wordpress.org/support/topic/error-message-in-logs/#post-12943595)
 * Hello josett225,
 * Thanks for reaching out to us.
 * I think there is some issue during the action call.
 * Please add below two link as mentioned and it will work.
 * **Line no: 324**
    From: $custom_action = $_POST[‘action’];
 * To: $custom_action = (isset(_POST[‘action’])) ? $_POST[‘action’] : ”;
 * **Line no: 325**
    From: $custom_post_type = $_POST[‘post_type’];
 * To: $custom_post_type = (isset($_POST[‘post_type’])) ? $_POST[‘post_type’] : ”;
 * Let us know still if any.
 * Thanks,
 *  Thread Starter [PICHI1966](https://wordpress.org/support/users/josett225/)
 * (@josett225)
 * [6 years ago](https://wordpress.org/support/topic/error-message-in-logs/#post-12947715)
 * Hello,
 * Many thanks for the code and the quick update. For now the error message has 
   disappeared.
 * Thanks again
 * Regards
 * Jose

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

The topic ‘Error Message in logs’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-order-status-per-product_cdbe77.
   svg)
 * [Custom Order Status Per Product for WooCommerce](https://wordpress.org/plugins/woo-order-status-per-product/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-order-status-per-product/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-order-status-per-product/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-order-status-per-product/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-order-status-per-product/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-order-status-per-product/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [PICHI1966](https://wordpress.org/support/users/josett225/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/error-message-in-logs/#post-12947715)
 * Status: resolved