@ydkmaa
Changing code is something that should only be done by someone who knows what they are doing. If you make a mistake, you can break your site. I am not the author of this plugin, and it was imranulh that found the fix. I will not be responsible for any damage caused by anyone using this fix.
In the file “/wp-content/plugins/easy-facebook-likebox/public/views/feed.php”
replace the lines:
if($cache_unit == ‘minutes’) $cache_unit = 60;
if($cache_unit == ‘hours’) $cache_unit = 60*60;
if($cache_unit == ‘days’) $cache_unit = 60*60*24;
with:
if($cache_duration == ‘minutes’) $cache_duration = 60;
if($cache_duration == ‘hours’) $cache_duration = 60*60;
if($cache_duration == ‘days’) $cache_duration = 60*60*24;
DISCLAIMER:
This is a temporary fix until the plugin author fixes the underlying problem. If the plugin author issues a patch that does NOT make changes to the feed.php file (because there is technically nothing wrong with this file – the fault lies elsewhere), then this “fix” will actually end up breaking the plugin. You use this patch at your own risk.