Uncaught SyntaxError: missing ) after argument list
-
Good morning everyone,
on each page where the newsletter subscription form is present there is a JS error:Uncaught SyntaxError: missing) after argument list (at (index): 644: 49)
<script type = 'text / javascript' id = 'mailpoet_public-js-after'> function initMailpoetTranslation () { if (typeof MailPoet! == 'undefined') { MailPoet.I18n.add ('ajaxFailedErrorMessage', 'There was an error processing your request, please try again later.') } else { setTimeout (initMailpoetTranslation, 250); } } setTimeout (initMailpoetTranslation, 250); </script>
The error in question seems to be generated by the presence of a single superscript (in Italian it is an apostrophe) which is interpreted in the wrong way:
MailPoet.I18n.add(‘ajaxFailedErrorMessage’, ‘Si è verificato un errore nell‘elaborazione della richiesta, riprova più tardi.’)
Could this be a problem generated by a translation string? Would you be kind enough to check?
Thank you!!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Uncaught SyntaxError: missing ) after argument list’ is closed to new replies.