You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are two mirroring pages, the first one is running on PHP7.0, the second one php5.5.9. Although the pages are identical, only 2nd one is working, and the 1st one is getting this issue:
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
and I was able to find this filp/whoops#341. Although not quite understand what it is saying, it seems to me whoops has some issue with PHP7.0. Is this the cause of the problem? And how do I fix it?
The text was updated successfully, but these errors were encountered:
Yes. Unfortunately I was trying to install PHP5.6 and it causes some problem. But now it is fixed. The website is working under PHP5.6 now. Currently, whoops works fine: instead of displaying the gantry error page showing the error I mentioned before, now the first link only gives a 500 error. I think this confirms my guess that the previous problem was caused by PHP version.
Regarding the 500 error, which I think it has always been there, being covered by the whoop's error before I installed php5.6, it is:
Call to undefined function mb_internal_encoding() in /home/wm/public_html/components/com_k2/helpers/route.php on line 86, referer: http://www.weiwei-tv.com/
this doesn't happen on the 2nd link, any idea what causes it?
In regards to your first error in PHP 7.0, you're using very old version of Gantry 5 (the file in the error message hasn't existed for a long time). Just update and you should be fine.
Live page:
These are two mirroring pages, the first one is running on PHP7.0, the second one php5.5.9. Although the pages are identical, only 2nd one is working, and the 1st one is getting this issue:
and I was able to find this filp/whoops#341. Although not quite understand what it is saying, it seems to me whoops has some issue with PHP7.0. Is this the cause of the problem? And how do I fix it?
The text was updated successfully, but these errors were encountered: