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

    My sites wayfinder working ok at localhost, but when I move it to my host,
    wayfinder snippet is giving the following error,

    Fatal error: Call to undefined method DocumentParser::getParentIds() in public_html/assets/snippets/wayfinder/wayfinder.inc.php on line 32

    What can cause such a error? Can anyone help me please?

    Thanks,

      • 37076
      • 12 Posts
      Finally I've found the cause, really weird,
      It was because the following local setting in PHx plugin for date localization;

      setlocale(LC_ALL, 'tr_TR.utf8');

      I ve used the following; which is just for the date localization nothing more,

      setlocale(LC_TIME, 'tr_TR.utf8');

      now it is working back again smiley)

      I hope this helps to anyone who faces the same issue smiley)