Title: PHP Notice
Last modified: November 30, 2020

---

# PHP Notice

 *  [RezaY](https://wordpress.org/support/users/mohammad983/)
 * (@mohammad983)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/php-notice-176/)
 * Hi
    I get this log sometimes from your plugin. every thing is up to date. WordPress
   and the plugin.
 * `PHP Notice: Trying to access array offset on value of type bool in /wp-content/
   plugins/wp-hide-security-enhancer/include/admin-interface.class.php on line 284`

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

 *  Thread Starter [RezaY](https://wordpress.org/support/users/mohammad983/)
 * (@mohammad983)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/php-notice-176/#post-13727714)
 * By the way, I get this error too. But I do not know. Does it related to the plugin
   or not!
 * `[30-Nov-2020 19:11:03 UTC] PHP Warning: preg_match() expects parameter 2 to 
   be string, array given in /wp-includes/class-simplepie.php on line 2620`
 *  Plugin Contributor [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/php-notice-176/#post-13730745)
 * Hi,
    Is the notice triggering in a specific interface tab? Any specific actions
   to follow to replicate or is just random?
 * The second message (warning) does not appear related to the plugin.
 * Thanks
 *  Thread Starter [RezaY](https://wordpress.org/support/users/mohammad983/)
 * (@mohammad983)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/php-notice-176/#post-13730947)
 * it’s random and rarely.
 *  [西門 正 Code Guy](https://wordpress.org/support/users/simongcc/)
 * (@simongcc)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-notice-176/#post-13937330)
 * It appears in Generate/HTML – Remove Shortlink Meta
    Because there is no help
   for Shortlink.
 * This is a PHP 7.3 warning notice that, in previous version, if it is a bool and
   you try to get something with undefined index, nothing will happen.
 * It encourages a better programming approach rather than leave the job to the 
   compiler.
 * So the suggested checking is something like:
 *     ```
       //...
   
       if ( isset( $module_setting['help'] ) ) {}
   
       //...
       ```
   
    -  This reply was modified 5 years, 3 months ago by [西門 正 Code Guy](https://wordpress.org/support/users/simongcc/).
      Reason: grammar
    -  This reply was modified 5 years, 3 months ago by [西門 正 Code Guy](https://wordpress.org/support/users/simongcc/).
      Reason: typos

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

The topic ‘PHP Notice’ is closed to new replies.

 * ![](https://ps.w.org/wp-hide-security-enhancer/assets/icon-256x256.png?rev=2937681)
 * [WP Hide & Security Enhancer](https://wordpress.org/plugins/wp-hide-security-enhancer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-hide-security-enhancer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-hide-security-enhancer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-hide-security-enhancer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-hide-security-enhancer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-hide-security-enhancer/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [西門 正 Code Guy](https://wordpress.org/support/users/simongcc/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/php-notice-176/#post-13937330)
 * Status: not resolved