Announcement

Collapse
No announcement yet.

PHP Fatal error: Uncaught Error: Call to a member function hasAdminPermission() on null in *\core\vb\api\wrapper.php:254

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Bug / Issue] PHP Fatal error: Uncaught Error: Call to a member function hasAdminPermission() on null in *\core\vb\api\wrapper.php:254

    Hi

    Getting this error in the php log file
    "
    [16-May-2020 15:48:08 Asia/Calcutta] PHP Fatal error: Uncaught Error: Call to a member function hasAdminPermission() on null in E:\*********\forum\core\vb\api\wrapper.php:254

    Stack trace:

    #0 E:\*********\forum\includes\api\interface\collapsed.php(101): vB_Api_Wrapper->__call('fetchCurrentUse...', Array)

    #1 E:\*********\forum\includes\vb5\user.php(51): Api_Interface_Collapsed->callApi('user', 'fetchCurrentUse...', Array)

    #2 E:\*********\forum\includes\vb5\user.php(40): vB5_User->__construct()

    #3 E:\*********\forum\includes\vb5\user.php(75): vB5_User::instance()

    #4 E:\*********\forum\includes\vb5\string.php(405): vB5_User::get('lang_charset')

    #5 E:\*********\forum\includes\vb5\applicationabstract.php(552): vB5_String::getCharset()

    #6 E:\*********\forum\includes\vb5\applicationabstract.php(470): vB5_ApplicationAbstract::setCharset()

    #7 E:\*********\forum\includes\vb5\applicationabstract.php(626): vB5_ApplicationAbstract::minErrorPage(false, Object(vB_Exception_Database), Array)

    #8 E:\*********\fo in E:\*********\forum\core\vb\api\wrapper.php on line 254



    If someone helps me....

  • #2
    I am continuously getting 500 Http error, Not able to access a forum.

    Please help. Above i mentioned PHP log error


    Getting sometime these lines in server log file
    "
    #Date: 2020-05-16 10:28:09
    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
    2020-05-16 10:28:09 1**.***.**.**0 GET /operator/basic.shtml id=1337 80 2**.***.***.**8 Abcd - 404 0 2 265
    2020-05-16 10:28:28 1**.***.**.**7 HEAD / - 80 1**.***.***.**2 - - 200 0 0 421
    2020-05-16 10:28:28 1**.***.**.**7 GET / - 80 1**.***.***.**2 - - 200 0 64 156
    2020-05-16 10:28:40 1**.***.**.**0 POST /doLogin - 80 2**.***.***.**8 Abcd - 404 0 2 234


    Last edited by AV_whiz; Sat 16 May '20, 8:18am.

    Comment

    Related Topics

    Collapse

    Working...
    X