Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Bug/Annoyance Fix

Home / Forums / Virtue Theme / Bug/Annoyance Fix

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
December 18, 2016 at 12:43 am

/virtue_premium/templates/content.php

insert after line 90:
$image_id = null; // or 0 or something....

Otherwise line 106 throws “Notice: Undefined variable: image_id” if there is no post thumbnail and it falls back on the default and you have errors turned on. (I know most people don’t have them on, but anyone developing something does/should and this would get rid of the unnecessary error easily)

  • The forum ‘Virtue Theme’ is closed to new topics and replies.