Title: php7 and Tip84
Last modified: March 21, 2018

---

# php7 and Tip84

 *  [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php7-and-tip84/)
 * Hello Tomas,
 * there is a php7 problem: Function create_function() is deprecated.
 *     ```
       /**
        * 4.2 - Tip84 - Remove error message on the login page.
        *
        * @link http://www.wpbeginner.com/wp-tutorials/11-vital-tips-and-hacks-to-protect-your-wordpress-admin-area/
        */
   
       // OLD
       //add_filter( 'login_errors', create_function('$a', "return null;") );
   
       // NEW
       function no_wordpress_errors(){
         return 'Something is wrong!';
       }
       add_filter( 'login_errors', 'no_wordpress_errors' );
       ```
   
 * Thank you for your nice theme!

Viewing 1 replies (of 1 total)

 *  Theme Author [Tomas Mackevicius](https://wordpress.org/support/users/tomasm/)
 * (@tomasm)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php7-and-tip84/#post-10133140)
 * Thank you!
 * Will have to investigate this.

Viewing 1 replies (of 1 total)

The topic ‘php7 and Tip84’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/tiny-framework/2.3.1/screenshot.
   png)
 * Tiny Framework
 * [Support Threads](https://wordpress.org/support/theme/tiny-framework/)
 * [Active Topics](https://wordpress.org/support/theme/tiny-framework/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/tiny-framework/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/tiny-framework/reviews/)

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tomas Mackevicius](https://wordpress.org/support/users/tomasm/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/php7-and-tip84/#post-10133140)
 * Status: not resolved