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

    Would appreciate some help.

    I just upgraded from Modx 0.9.6.1 to 0.9.6.3, and I cannot get AjaxSearch (v1.8.1) to work. I see an error on the FireBug console:

    iterator is not a function
    inject()()prototype.js (line 373)
    inject()(div, undefined)prototype.js (line 372)
    remove()()mootools.js (line 66)
    initialize()("current-search-results", Object duration=600)mootools.js (line 197)
    chain()()mootools.js (line 19)
    empty()()mootools.js (line 16)
    activateSearch()ajaxSearch.js (line 86)
    pass()()mootools.js (line 45)
    F()(undefined)mootools.js (line 46)
    cloneEvents()(activateSearch())mootools.js (line 120)
    cloneEvents()("domready", undefined, undefined)mootools.js (line 121)
    A()()mootools.js (line 153)
    bind()()prototype.js (line 68)
    [Break on this error] memo = iterator(memo, value, index);


    Can anyone shed some light on this?

    Thank you in advance.

      • 5811
      • 1,717 Posts
      Could you send by PM the address of your live site. It seems that you have a mix of prototype.js and mootools.js
      With an address, I could check the AS js behaviour.
        • 15163
        • 7 Posts
        coroico,

        Thank you very much for your reply. You were right. I was loading the prototype.js and scriptaculous.js, and I guess they were interfering with the AS scripts. I removed them and AS worked.

        You guys have done a fantastic job with AS. Thank you once again. Modx rocks!

        jon