Title: PHP Warning: Undefined array key
Last modified: March 23, 2023

---

# PHP Warning: Undefined array key

 *  Resolved [Ludovic S. Clain](https://wordpress.org/support/users/ludovicsclain/)
 * (@ludovicsclain)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-8/)
 * Hi there 👋</img> 
 * First of all, thank you for this very useful plugin 🙏</img> 
   Currently I have
   2 warnings in my debug with emails that do not leave:
 *     ```wp-block-code
       PHP Warning:  Undefined array key "placeholder" in ~/wp-content/plugins/multiple-post-passwords/admin/settings-page.php on line 214
       PHP Warning:  Undefined array key "min" in ~/wp-content/plugins/multiple-post-passwords/admin/settings-page.php on line 206
       ```
   
 * And I noticed that in the instructions and my navigator console (from the plugin
   Settings), the instructions for the field “Expire passwords after x hours” are
   with a separation point while the entered figure is systematically transformed
   with a comma (via the arrows too):
 * Screenshot here:
 * [https://markuphero.com/share/MnfldzuaR9oKWfjHGAlf](https://markuphero.com/share/MnfldzuaR9oKWfjHGAlf)
 * Thank you for your help!
 * Warm regards,
   Ludovic
 * PS: I use PHP 8.0, maybe it affects?
 * EDIT: I just put a round figure (1 hour) and when saving the settings, the same
   warnings appear all the same (strong to bet that the stories of commas and points
   have nothing to do so)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Ludovic S. Clain](https://wordpress.org/support/users/ludovicsclain/)
 * (@ludovicsclain)
 * [3 years ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-8/#post-16717409)
 * Hey [@andreasmuench](https://wordpress.org/support/users/andreasmuench/),
 * any updates on this bugs please?

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: Undefined array key’ is closed to new replies.

 * ![](https://ps.w.org/multiple-post-passwords/assets/icon.svg?rev=1963120)
 * [Multiple Post Passwords](https://wordpress.org/plugins/multiple-post-passwords/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multiple-post-passwords/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-post-passwords/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-post-passwords/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-post-passwords/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-post-passwords/reviews/)

## Tags

 * [php 8](https://wordpress.org/support/topic-tag/php-8/)
 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 1 reply
 * 1 participant
 * Last reply from: [Ludovic S. Clain](https://wordpress.org/support/users/ludovicsclain/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-8/#post-16717409)
 * Status: resolved