We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42465
    • 33 Posts
    Hi,

    After upgrading from Evo 1.0.5 to 1.0.14 I'm getting the following error message:

    ManagerManager: An error has occurred: Error - Syntax error, unrecognized expression: input[name=tv24[]]


    The TV in question, allowedComments, has the following values:

    Input-type: Check box
    Input Option Values: Yes==Yes
    Default Value: No

    The issue seems to be linked to the Input type. If I change it from check box to text the error goes. I've looked at ManangerManager (0.6.1) config and I don't see any obvious issues. I also don't see anything in the configuration chunk which has the following rule for allowedComments

    mm_hideFields('clear_cache,content_dispo,allowComments'); 


    My template calls the tv like so:

    [*allowComments:is=`Yes`:then=`[*isfolder:is=`0`:then=`<div id="comments">[!Jot? &customfields=`name,email` &subscribe=`1` &pagination=`10` &badwords=`dotNet` &canmoderate=`Site Admins` !]</div>`*]`*]


    Any ideas?
      • 18154
      • 3 Posts
      Hi. I Think a solution has been found by this time.
      For the future (for me, search engeens..)

      ManagerManager: An error has occured:
      Error - Syntax error,
      unrecognized expression: input[name=tv11[]]
      Its because jQuery stumbles over the [] in the TV name.
      Escaping the brackets in mm.inc.php line 146 and line 151 will do the trick:
      change $fieldname_suffix = '[]';to $fieldname_suffix = '\\\\[\\\\]';

      I'm not sure about this, but maybe this applies also to other jQuery versions...

      found here:https://github.com/ncrossland/ManagerManager/issues/9
      Sucessfuly used few times. Line numbers can be different, depends on MM version