CrazyCalmMedia Posted May 29, 2019 Share Posted May 29, 2019 Hello, When we start Developer Mode we are getting following error Whoops\Exception\ErrorException: You have used a function (func_get_args) that should be called from the root namespace for performance reasons (/public_html/forums/init.php(867) : eval()'d code::40). in file /public_html/forums/init.php(885) : eval()'d code on line 212 Stack trace: 1. Whoops\Exception\ErrorException->() /public_html/forums/init.php:885 2. trigger_error() /public_html/forums/init.php:885 3. IPS\Session\func_get_args() /public_html/forums/init.php:867 4. IPS\Session\hook5->read() [internal]:0 5. session_start() /public_html/forums/system/Session/Session.php:91 6. IPS\_Session->i() /public_html/forums/system/Member/Member.php:154 7. IPS\_Member->loggedIn() /public_html/forums/system/Output/Output.php:828 8. IPS\_Output->sendOutput() /public_html/forums/applications/core/interface/css/css.php:90 Please help me to solve this issue. Link to comment Share on other sites More sharing options...
newbie LAC Posted May 29, 2019 Share Posted May 29, 2019 Hello, func_get_args() change to \func_get_args() Link to comment Share on other sites More sharing options...
CrazyCalmMedia Posted June 1, 2019 Author Share Posted June 1, 2019 Sorry But could not found func_get_args in init.php I am new on Invision could you please explain me in details. Thank you. Link to comment Share on other sites More sharing options...
newbie LAC Posted June 1, 2019 Share Posted June 1, 2019 Plugin or app hook which ID is 5 On 5/29/2019 at 3:51 PM, CrazyCalmMedia said: 4. IPS\Session\hook5->read() [internal]:0 Or you can add in constants.php define('IN_DEV_STRICT_MODE', FALSE); Link to comment Share on other sites More sharing options...
CrazyCalmMedia Posted June 1, 2019 Author Share Posted June 1, 2019 Thank you for the update. I have change the setting as per your suggestion and it`s working. But when i try to edit plugin html files it`s giving error Forbidden You don't have permission to access /forums/admin/index.php on this server. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. How do i check the error. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.