SyntaxError: missing ) after argument listvar/session/ session files are emptyMagento Fails to Create Session and Shows Blank Screen After LoginCron cache files owned by root:rootMaximum execution time exceeded. Clearing cookies only solution500 server error after coupon applicationUncaught SyntaxError: missing ) after argument listHow to fix “Fatal error: Class 'Mage_Catalog_Block_Product_Abstract' not found” after restoring backup of Magento installation?Custom controller: Argument 1 must be instance of Context, instead Objectmanager is givenUncaught ReferenceError: packaging is not defined

How is this practical and ancient scene shot?

In native German words, is Q always followed by U, as in English?

What's the easiest way for a whole party to be able to communicate with a creature that doesn't know Common?

Do space suits measure "methane" levels or other biological gases?

Skipping over failed imports until they are needed (if ever)

How can I get edges to bend to avoid crossing?

Golf the smallest circle!

Can a Federation colony become a member world?

Acceleration in Circular motion

One folder two different locations on ubuntu 18.04

Why are there so many religions and gods?

What could a reptilian race tell by candling their eggs?

How did installing this RPM create a file?

What is "oversubscription" in Networking?

What does BSCT stand for?

Meaning of もてり and use of が

How do I tell the reader that my character is autistic in Fantasy?

Why transcripts instead of degree certificates?

How hard is it to sell a home which is currently mortgaged?

Most importants new papers in computational complexity

Why do the keys in the circle of fifths have the pattern of accidentals that they do?

Should I share with a new service provider a bill from its competitor?

Generate and graph the Recamán Sequence

What game is this character in the Pixels movie from?



SyntaxError: missing ) after argument list


var/session/ session files are emptyMagento Fails to Create Session and Shows Blank Screen After LoginCron cache files owned by root:rootMaximum execution time exceeded. Clearing cookies only solution500 server error after coupon applicationUncaught SyntaxError: missing ) after argument listHow to fix “Fatal error: Class 'Mage_Catalog_Block_Product_Abstract' not found” after restoring backup of Magento installation?Custom controller: Argument 1 must be instance of Context, instead Objectmanager is givenUncaught ReferenceError: packaging is not defined






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have encountered a weird error, after some time of development and clearing cache I am getting the following error.



SyntaxError: missing ) after argument list


I have created several modules and start getting this error, after clearing cache.



The line where error is occurred.



 setText(el, "'"
.addAttribute('translate',
binding: 'i18n'
);


Also this error occurs in other files.



How can I solve this problem ?










share|improve this question






















  • You,need to correct ypur code wth setText(el, "'" .addAttribute('translate', binding: 'i18n' ); share full console log and file path, also try this command php -dmemory_limit=5G setup:static:deploy add your local code here like 'nl_NL' -f

    – kunj
    Jun 9 '18 at 3:12

















0















I have encountered a weird error, after some time of development and clearing cache I am getting the following error.



SyntaxError: missing ) after argument list


I have created several modules and start getting this error, after clearing cache.



The line where error is occurred.



 setText(el, "'"
.addAttribute('translate',
binding: 'i18n'
);


Also this error occurs in other files.



How can I solve this problem ?










share|improve this question






















  • You,need to correct ypur code wth setText(el, "'" .addAttribute('translate', binding: 'i18n' ); share full console log and file path, also try this command php -dmemory_limit=5G setup:static:deploy add your local code here like 'nl_NL' -f

    – kunj
    Jun 9 '18 at 3:12













0












0








0








I have encountered a weird error, after some time of development and clearing cache I am getting the following error.



SyntaxError: missing ) after argument list


I have created several modules and start getting this error, after clearing cache.



The line where error is occurred.



 setText(el, "'"
.addAttribute('translate',
binding: 'i18n'
);


Also this error occurs in other files.



How can I solve this problem ?










share|improve this question














I have encountered a weird error, after some time of development and clearing cache I am getting the following error.



SyntaxError: missing ) after argument list


I have created several modules and start getting this error, after clearing cache.



The line where error is occurred.



 setText(el, "'"
.addAttribute('translate',
binding: 'i18n'
);


Also this error occurs in other files.



How can I solve this problem ?







magento2 javascript error cache






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 8 '18 at 16:15









solderingironsolderingiron

476 bronze badges




476 bronze badges












  • You,need to correct ypur code wth setText(el, "'" .addAttribute('translate', binding: 'i18n' ); share full console log and file path, also try this command php -dmemory_limit=5G setup:static:deploy add your local code here like 'nl_NL' -f

    – kunj
    Jun 9 '18 at 3:12

















  • You,need to correct ypur code wth setText(el, "'" .addAttribute('translate', binding: 'i18n' ); share full console log and file path, also try this command php -dmemory_limit=5G setup:static:deploy add your local code here like 'nl_NL' -f

    – kunj
    Jun 9 '18 at 3:12
















You,need to correct ypur code wth setText(el, "'" .addAttribute('translate', binding: 'i18n' ); share full console log and file path, also try this command php -dmemory_limit=5G setup:static:deploy add your local code here like 'nl_NL' -f

– kunj
Jun 9 '18 at 3:12





You,need to correct ypur code wth setText(el, "'" .addAttribute('translate', binding: 'i18n' ); share full console log and file path, also try this command php -dmemory_limit=5G setup:static:deploy add your local code here like 'nl_NL' -f

– kunj
Jun 9 '18 at 3:12










2 Answers
2






active

oldest

votes


















1














Use this code:



setText(el, "'"
.addAttribute('translate',
binding: 'i18n'
));


You have not closed ')' while you have opened 2 '(' and closed 1. Please check your code.






share|improve this answer























  • I haven't modify any JS file, this error appeared instantly, there more files that have that problem and I didn't touch them

    – solderingiron
    Jun 8 '18 at 18:15











  • Did you any extension recently?

    – Sukumar Gorai
    Jun 8 '18 at 19:06











  • I have disabled all custom modules, but still have the same issue

    – solderingiron
    Jun 8 '18 at 19:38


















0














Try to set Stores -> Configuration -> Advanced -> Developer -> JavaScript Settings -> Translation Strategy option to value "Dictionary (Translation on Storefront side)"



..or use that query:



UPDATE `core_config_data` SET `value` = 'dictionary' WHERE `core_config_data`.`path` = 'dev/js/translate_strategy' LIMIT 1;





share|improve this answer








New contributor



hubertinio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f229248%2fsyntaxerror-missing-after-argument-list%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Use this code:



    setText(el, "'"
    .addAttribute('translate',
    binding: 'i18n'
    ));


    You have not closed ')' while you have opened 2 '(' and closed 1. Please check your code.






    share|improve this answer























    • I haven't modify any JS file, this error appeared instantly, there more files that have that problem and I didn't touch them

      – solderingiron
      Jun 8 '18 at 18:15











    • Did you any extension recently?

      – Sukumar Gorai
      Jun 8 '18 at 19:06











    • I have disabled all custom modules, but still have the same issue

      – solderingiron
      Jun 8 '18 at 19:38















    1














    Use this code:



    setText(el, "'"
    .addAttribute('translate',
    binding: 'i18n'
    ));


    You have not closed ')' while you have opened 2 '(' and closed 1. Please check your code.






    share|improve this answer























    • I haven't modify any JS file, this error appeared instantly, there more files that have that problem and I didn't touch them

      – solderingiron
      Jun 8 '18 at 18:15











    • Did you any extension recently?

      – Sukumar Gorai
      Jun 8 '18 at 19:06











    • I have disabled all custom modules, but still have the same issue

      – solderingiron
      Jun 8 '18 at 19:38













    1












    1








    1







    Use this code:



    setText(el, "'"
    .addAttribute('translate',
    binding: 'i18n'
    ));


    You have not closed ')' while you have opened 2 '(' and closed 1. Please check your code.






    share|improve this answer













    Use this code:



    setText(el, "'"
    .addAttribute('translate',
    binding: 'i18n'
    ));


    You have not closed ')' while you have opened 2 '(' and closed 1. Please check your code.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jun 8 '18 at 16:16









    Sukumar GoraiSukumar Gorai

    7,5743 gold badges7 silver badges31 bronze badges




    7,5743 gold badges7 silver badges31 bronze badges












    • I haven't modify any JS file, this error appeared instantly, there more files that have that problem and I didn't touch them

      – solderingiron
      Jun 8 '18 at 18:15











    • Did you any extension recently?

      – Sukumar Gorai
      Jun 8 '18 at 19:06











    • I have disabled all custom modules, but still have the same issue

      – solderingiron
      Jun 8 '18 at 19:38

















    • I haven't modify any JS file, this error appeared instantly, there more files that have that problem and I didn't touch them

      – solderingiron
      Jun 8 '18 at 18:15











    • Did you any extension recently?

      – Sukumar Gorai
      Jun 8 '18 at 19:06











    • I have disabled all custom modules, but still have the same issue

      – solderingiron
      Jun 8 '18 at 19:38
















    I haven't modify any JS file, this error appeared instantly, there more files that have that problem and I didn't touch them

    – solderingiron
    Jun 8 '18 at 18:15





    I haven't modify any JS file, this error appeared instantly, there more files that have that problem and I didn't touch them

    – solderingiron
    Jun 8 '18 at 18:15













    Did you any extension recently?

    – Sukumar Gorai
    Jun 8 '18 at 19:06





    Did you any extension recently?

    – Sukumar Gorai
    Jun 8 '18 at 19:06













    I have disabled all custom modules, but still have the same issue

    – solderingiron
    Jun 8 '18 at 19:38





    I have disabled all custom modules, but still have the same issue

    – solderingiron
    Jun 8 '18 at 19:38













    0














    Try to set Stores -> Configuration -> Advanced -> Developer -> JavaScript Settings -> Translation Strategy option to value "Dictionary (Translation on Storefront side)"



    ..or use that query:



    UPDATE `core_config_data` SET `value` = 'dictionary' WHERE `core_config_data`.`path` = 'dev/js/translate_strategy' LIMIT 1;





    share|improve this answer








    New contributor



    hubertinio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0














      Try to set Stores -> Configuration -> Advanced -> Developer -> JavaScript Settings -> Translation Strategy option to value "Dictionary (Translation on Storefront side)"



      ..or use that query:



      UPDATE `core_config_data` SET `value` = 'dictionary' WHERE `core_config_data`.`path` = 'dev/js/translate_strategy' LIMIT 1;





      share|improve this answer








      New contributor



      hubertinio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





















        0












        0








        0







        Try to set Stores -> Configuration -> Advanced -> Developer -> JavaScript Settings -> Translation Strategy option to value "Dictionary (Translation on Storefront side)"



        ..or use that query:



        UPDATE `core_config_data` SET `value` = 'dictionary' WHERE `core_config_data`.`path` = 'dev/js/translate_strategy' LIMIT 1;





        share|improve this answer








        New contributor



        hubertinio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        Try to set Stores -> Configuration -> Advanced -> Developer -> JavaScript Settings -> Translation Strategy option to value "Dictionary (Translation on Storefront side)"



        ..or use that query:



        UPDATE `core_config_data` SET `value` = 'dictionary' WHERE `core_config_data`.`path` = 'dev/js/translate_strategy' LIMIT 1;






        share|improve this answer








        New contributor



        hubertinio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        share|improve this answer



        share|improve this answer






        New contributor



        hubertinio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        answered Jun 18 at 19:15









        hubertiniohubertinio

        1




        1




        New contributor



        hubertinio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.




        New contributor




        hubertinio is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f229248%2fsyntaxerror-missing-after-argument-list%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

            Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

            Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form