Title: Fix for PHP 7
Last modified: February 7, 2020

---

# Fix for PHP 7

 *  [garethgillman](https://wordpress.org/support/users/garethgillman/)
 * (@garethgillman)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/fix-for-php-7/)
 * To fix on php 7, edit the rss-importer.php plugin, line 72 from:
 * `set_magic_quotes_runtime(0);`
 * to:
 *     ```
       if(get_magic_quotes_runtime()) {
         set_magic_quotes_runtime(0);
       }
       ```
   
 * set_magic_quotes_runtime was deprecated in PHP 7 hence the breaking of the plugin,
   hopefully someone can release an update for it.

Viewing 1 replies (of 1 total)

 *  [Art](https://wordpress.org/support/users/theart8/)
 * (@theart8)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/fix-for-php-7/#post-12418018)
 * Thank you very much!

Viewing 1 replies (of 1 total)

The topic ‘Fix for PHP 7’ is closed to new replies.

 * ![](https://ps.w.org/rss-importer/assets/icon.svg?rev=2828571)
 * [RSS Importer](https://wordpress.org/plugins/rss-importer/)
 * [Support Threads](https://wordpress.org/support/plugin/rss-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/rss-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rss-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rss-importer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Art](https://wordpress.org/support/users/theart8/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/fix-for-php-7/#post-12418018)
 * Status: not a support question