• Hi,

    The /e modifier was deleted in PHP 7. So the plugin is broken with PHP 7.

    I fixed in the following lines in feed.php:

    
      if (strpos($string,'%%date[') != FALSE) {
        $string = preg_replace_callback('/%%date\[([^]]+)\]%%/',
          function ($matches) {
            return get_post_time($matches[1]);
          }, $string);
      }
    
      if (strpos($string,'%%<?php') != FALSE) {
        $string = preg_replace_callback('/%%<\?php(.*?)\?>%%/',
            function ($matches) {
                return wp_ozh_betterfeed_phpexec($matches[1]);
            }, $string);
      }

    Could you please, update the plugin with the code above? To support PHP 7.

    Thanks.

    • This topic was modified 8 years ago by .
  • The topic ‘PHP 7 support’ is closed to new replies.