Closed BlakesHeaven closed 5 years ago
Instead of setting $pageTitleHash with:
$pageTitleHash = hash(adler32,$page->title(),false);
Replace with:
switch ($WHERE_AM_I) { case "search": $pageTitleHash = 'search'; break; default: $pageTitleHash = ($page->uuid()); }
$page->title() can not resolve while search is in use.