[SOLVED] Facebook plugin - occasional error

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
HoofArted
Forum Members
Forum Members
Posts: 26
Joined: Sun Jul 22, 2012 1:11 am

[SOLVED] Facebook plugin - occasional error

Post by HoofArted »

I'm using: 1.10.3 "Hyacinthe"

I installed FacebookLikeButton: http://dev.cmsmadesimple.org/projects/likebutton

I created global content block, that included:
<div class="facebook">{FacebookLikeButton font='verdana' colorscheme='light' lang='sl_SI' send='false'}</div>
Since the install I frequently get this error message, that disappears after refreshing the site:
string(101) "Smarty error: [in tpl_body:24 line 3]: [plugin] unknown tag - 'var' (core.load_plugins.php, line 198)" string(113) "Smarty error: [in tpl_body:24 line 3]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590)"
Any ideas on what could be the problem here?
Last edited by HoofArted on Tue Dec 18, 2012 8:58 pm, edited 2 times in total.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Facebook plugin - occasional error

Post by Jos »

Probably some javascript that is not enclosed by {literal}...{/literal} tags.
http://docs.cmsmadesimple.org/troublesh ... ed-tag-var
HoofArted
Forum Members
Forum Members
Posts: 26
Joined: Sun Jul 22, 2012 1:11 am

Re: [SOLVED] Facebook plugin - occasional error

Post by HoofArted »

That did the trick, thank you.
Post Reply

Return to “Modules/Add-Ons”