No announcement yet.

Call to a member function hasAdminPermission()

  • Filter
  • Time
  • Show
Clear All
new posts

  • Call to a member function hasAdminPermission()


    Friends, please, what kind of error is this and how to fix it?
    vBulletin Version - 5.2.0
    PHP Version - 5.5.17
    MySQL Version - 5.6.28
    Any Addons installed - Forum Runner 5.1.2
    Does the issue Occur in the default style? - Yes
    Does the issue Occur using the language provided Inglês? - Yes
    Error message on the screen - Call to a member function hasAdminPermission() on a non-object in /home/public_html/forum/core/vb/api/wrapper.php on line 172
    Browser and browser version used - firefox 43.0.1
    The list of steps que can be used to recreate the issue: the forum is inaccessible and this error came suddenly.

    thank you!

    Last edited by -=|zami|=-; Wed 10 Feb '16, 2:04pm.

  • #2
    I get this error because mysql user not have permission to write.

    Try use an "root" user to test, or grant all permissions for your user ( database from webhosts sometimes not give that permissions )


    • #3
      OK thank you!

      the user is with all privileges.
      I managed to "solve" the problem by repairing and optimizing the tables several times.
      but still I do not know the source of the problem.

      anyway, thank you for your attention !!


      • #4
        Hi, I have a same problem!! this appear when updated php to 5,6 version


        Related Topics