Support » Plugin: Blog-in-Blog » Plugin breaks on PHP 7.0.0 with WxH thumbnail option

  • johnholdun


    I just spent an hour or so fixing this so I thought it might be useful to others as well.

    If you specify a WxH-style thumbnail size when using the blog_in_blog shortcode on a WordPress install running with PHP 7.0, the plugin will fail to render (and halt rendering of your page). This happens because there is a split in the code, which was deprecated in 5.3.0 and removed in 7.0.0.

    Replace the split on line 123 of wp-content/plugins/blog-in-blog/blog-in-blog.php with an explode and you’ll be back in business!

  • The topic ‘Plugin breaks on PHP 7.0.0 with WxH thumbnail option’ is closed to new replies.