Title: Deprecated Function with PHP 7.2
Last modified: April 3, 2019

---

# Deprecated Function with PHP 7.2

 *  [supertrooper2](https://wordpress.org/support/users/supertrooper2/)
 * (@supertrooper2)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/deprecated-function-with-php-7-2/)
 * First let me say what a great plugin Related Posts is. Recently I upgraded to
   PHP 7.2 and am getting the following error message:
 *  Deprecated: Function create_function() is deprecated in /var/www/******/wp-content/
   plugins/wordpress-23-related-posts-plugin/init.php on line 440
 * Would it be possible to update the plugin to be compatible with PHP 7.2?

The topic ‘Deprecated Function with PHP 7.2’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-23-related-posts-plugin_7b9a7c.
   svg)
 * [WordPress Related Posts](https://wordpress.org/plugins/wordpress-23-related-posts-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-23-related-posts-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [supertrooper2](https://wordpress.org/support/users/supertrooper2/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/deprecated-function-with-php-7-2/)
 * Status: not resolved