Title: PHP Deprecated
Last modified: November 9, 2020

---

# PHP Deprecated

 *  Resolved [RezaY](https://wordpress.org/support/users/mohammad983/)
 * (@mohammad983)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-deprecated-20/)
 * I get this error frequently
 * [09-Nov-2020 15:51:13 UTC] PHP Deprecated: Non-static method WPH_module_general_html::
   remove_html_comments() should not be called statically in /public_html/wp-content/
   plugins/wp-hide-security-enhancer/include/wph.class.php on line 632

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

 *  Plugin Contributor [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-deprecated-20/#post-13642465)
 * Hi,
    Can you check you’re up to date with the latest plugin version?
 * Thanks
 *  Thread Starter [RezaY](https://wordpress.org/support/users/mohammad983/)
 * (@mohammad983)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-deprecated-20/#post-13642756)
 * [@tdgu](https://wordpress.org/support/users/tdgu/) sure I always used the last
   version
 *  Plugin Contributor [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-deprecated-20/#post-13645525)
 * Hi,
    I was able to replicate the issue and make a code update which will be available
   in the next 1-2 days.
 * Thanks
 *  Thread Starter [RezaY](https://wordpress.org/support/users/mohammad983/)
 * (@mohammad983)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-deprecated-20/#post-13658325)
 * [@tdgu](https://wordpress.org/support/users/tdgu/) I updated it yesterday. but
   the problem is not soleved
 * `[12-Nov-2020 21:18:25 UTC] PHP Deprecated: Non-static method WPH_module_general_html::
   remove_html_comments() should not be called statically in /wp-content/plugins/
   wp-hide-security-enhancer/include/wph.class.php on line 632`
 *  Plugin Contributor [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-deprecated-20/#post-13662813)
 * Hi,
    But the deprecation notice still makes reference to the old version, can
   you ensure you actually run the latest 1.6.2
 * Thanks
 *  Thread Starter [RezaY](https://wordpress.org/support/users/mohammad983/)
 * (@mohammad983)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/php-deprecated-20/#post-13663319)
 * [@tdgu](https://wordpress.org/support/users/tdgu/) you’re right. sorry that’s
   my bad.

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

The topic ‘PHP Deprecated’ 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [RezaY](https://wordpress.org/support/users/mohammad983/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/php-deprecated-20/#post-13663319)
 * Status: resolved