We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21644
    • 6 Posts
    Hi,
    After installation MODx modx-1.0.5 to free hosting and importing database from localhost
    (database was moved in accordance with instruction), I’m getting errror:

    PHP error debug
    Error: Missing argument 1 for AjaxSearch::run(), called in /home/vhosts/www.MySite.com/manager/includes/document.parser.class.inc.php(770) : eval()’d code on line 399 and defined
    Error type/ Nr.: Warning - 2
    File: /home/vhosts/www.MySite.com/assets/snippets/ajaxSearch/classes/ajaxSearch.class.inc.php
    Line: 64
    Line 64 source: function run($tstart, $dcfg, $cfg = null) {

    What can I do to fix it?

    Tanks in advance,
    NLObP
      • 20135
      • 188 Posts
      I have same error showing for upgrade from 1.0.0 standard installation to 1.0.5 standard installation; no migration, just upgrade. Shows after selecting language. Luckily I took a backup.

      PHP 5.2.17
      Linux
      Apache