Title: Error on PHP 7
Last modified: July 20, 2018

---

# Error on PHP 7

 *  Resolved [spabav](https://wordpress.org/support/users/spabav/)
 * (@spabav)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/error-on-php-7-4/)
 * Hi,
    we are running Version 3.2
 * When we set wp_debug to “true” in wp-config and run your plugin with php 7.2 ,
 * We get the following error message at the backend and frontend:
 * Deprecated: Function create_function() is deprecated in /mysite.com/public_html/
   wp-content/plugins/posts-by-tag/posts-by-tag.php on line 375
 * Could you please let us know how we can fix this error?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Sudar Muthu](https://wordpress.org/support/users/sudar/)
 * (@sudar)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/error-on-php-7-4/#post-10513821)
 * Thanks for the bug report. Looks like there are some issues in PHP 7.2
 * I will fix it and make a release soon.
 * I have also created a github issue to track this. You can follow the progress
   on it at [https://github.com/sudar/posts-by-tag/issues/31](https://github.com/sudar/posts-by-tag/issues/31)

Viewing 1 replies (of 1 total)

The topic ‘Error on PHP 7’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-by-tag.svg)
 * [Posts By Tag](https://wordpress.org/plugins/posts-by-tag/)
 * [Support Threads](https://wordpress.org/support/plugin/posts-by-tag/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-by-tag/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-by-tag/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-by-tag/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sudar Muthu](https://wordpress.org/support/users/sudar/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/error-on-php-7-4/#post-10513821)
 * Status: resolved