Hi all
I’m having a dumb problem with Ajax Search. I upgraded my site to modx 1.0.5 and i didn’t update the ajaxsearch because it had given me problems on other sites before. However when i went to preview the site, I get the following error.
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Missing argument 1 for run()
Error type/ Nr.: Warning - 2
File: /nfs/c03/h03/mnt/54198/domains/bayerparasitesolutions.ca/html/assets/snippets/ajaxSearch/classes/ajaxSearch.class.inc.php
Line: 64
Line 64 source: function run($tstart, $dcfg, $cfg = null) {
Parser timing
MySQL: 0.0292 s (7 Requests)
PHP: 0.0649 s
Total: 0.0941 s
I’m not sure what to do. I tried looking at other postings and found a few however since I am new to modx, I really couldn’t understand what they were talking about.
Could someone please help me?
BTW this is really urgent
Thanks
I figured it out but what happened was, although i chose not to install the latest versions of the ajaxsearch, it still installed it. So i then just reverted everything back to the older version and it worked.