Jump to content

chasecmiller

Approved members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by chasecmiller

  1. Sorry for the late response, this was just coming up in my Google results while I was hunting down the same issue. So, I'll post my fix for this. My error logging doesn't work, thanks GoDaddy and the hiding of errors in Revive. The problem was boiling down to a short piece of code in /lib/OA/Admin/Statistics/Common.php in the function _removeDuplicateParams The issue coming up was the use of !strstr($link, $value) breaking with their input. They were taking a foreach loop and iterating. I just cleaned the code up a bit. Not sure if strstr is necessary there at all, but it was breaking. Might need reimplemented at a later time. Recommendation is replacing with this function, give it a shot. This wasn't a copy and paste since it's on the other screen, but not seeing any typos in my proof read. function _removeDuplicateParams($link) { if (empty($link)) { return $this->aPageParams; } $aNewParams = array_filter($this->aPageParams); unset($aNewParams['entity'], $aNewParams['day']); return $aNewParams; }
×
×
  • Create New...