My website has a mirror. While my main site is running on php5.5.9(yes I got a message saying the PHP version is too low and unsurpported.), the mirror site is running on PHP7.0. On the mirror site,
one of the pages
is giving the following error:
Uncaught TypeError: Argument 1 passed to Gantry\Component\Whoops\Run::handleException() must be an instance of Exception, instance of Error given in /home/wm/public_html/libraries/gantry5/classes/Gantry/Component/Whoops/Run.php:75 Stack trace: #0 [internal function]: Gantry\Component\Whoops\Run->handleException(Object(Error)) #1 {main} thrown
However, on main site, the
same page
is good. I checked and confirmed that all files on both server have been synchronized. So I think this may have something to do with different apahce server setting, the biggest of which is the PHP version as I mentioned above. Also I was able to find this page:
github.com/filp/whoops/issues/341
, it seems to me one of the components (whoop?) that gantry is using has some issue with PHP7.0, and its somehow fixed but I couldn't find the patch and even if I found it I wouldn't be sure about how to apply it to my website.
Please help with this issue: