I’ve tested with multisite so that shouldn’t be the issue. I’m out of town right now, but I’ll try to troubleshoot this error when I get home in a couple days.
I’m home, sorry for the delay.
You can safely delete or comment out that line. It is simply a notice that you can receive 30% off if you upgrade to the PRO version.
In fact, if I were you, I’d delete this whole chunk:
// Check that the user hasn't already clicked to ignore the message
if ( ! get_user_meta($user_id, 'afift_lite2pro_ignore_notice') ) {
echo '<div class="updated"><p>';
printf(__('<strong>Thanks for using Auto Featured Image from Title LITE!</strong><br />Use discount code LITE2PRO to get 30% off the <a href="http://designsbychris.com/auto-featured-image-from-title">PRO version</a>! | <a href="%1$s" rel="nofollow">Hide Notice</a>'), '?' . http_build_query(array_merge($params, array('afift_lite2pro_ignore_notice'=>'0'))));
echo "</p></div>";
}
}
add_action('admin_notices', 'afift_lite_admin_notice');
Hope this helps!
Thread Starter
Nicola
(@nicoleuk)
Hi no problem,
I did as suggested and I now receive this error
Parse error: syntax error, unexpected end of file in /wp-content/plugins/auto-featured-image-from-title/auto-featured-image-from-title.php on line 461
Sorry, take this out too, then it should work.
// Display a notice that can be dismissed
function afift_lite_admin_notice() {
global $current_user;
$user_id = $current_user->ID;