We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25287
    • 81 Posts
    I’ve just moved my site from a test location to it’s intended home. The test site was working smoothly, but there is an error that beyond me that comes up.
    It seems to be related to the Ajax Search snippet. I’ve deleted the snippet files, re-copied them and done the same for the snippet in the manager - using v 1.8.5
    The error that comes up is:
    « 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 AjaxSearch::run(), called in .../radiantglory.com/manager/includes/document.parser.class.inc.php(770) : eval()’d code on line 416 and defined
    Error type/ Nr.: Warning - 2
    File: .../radiantglory.com/assets/snippets/ajaxSearch/classes/ajaxSearch.class.inc.php
    Line: 64
    Line 64 source: function run($tstart, $dcfg, $cfg = null) {

    I hope this is in the right forum. All help appreciated.
    Rob