• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Trying to get property of non-object

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Trying to get property of non-object

    • Issue Tools
      • View Changes
    1. issueid=4583 March 5, 2016 6:04 PM
      hollosch hollosch is offline
      Senior Member
      Trying to get property of non-object

      Code:
      Fehlermeldung des Servers
      Fehlerinformation
      ErrorException: Trying to get property of non-object - vault/core/view/ui/discussion/vw.php:595
      Generiert durch: Unbekanntes Benutzerkonto, Gestern um 10:28 Uhr
      Stapelverfolgung
      
      #0 ../vault/core/view/ui/discussion/vw.php(595): XenForo_Application::handlePhpError(8, 'Trying to get p...', '/var/www/vhosts...', 595, Array)
      #1 ../vault/core/controller/ui/discussion/vw.php(1818): vw_UI_Discussion_View->index(Object(vw_UI_Discussion_Controller_XF))
      #2 ../vault/core/controller/ui/discussion/vw.php(141): vw_UI_Discussion_Controller->view()
      #3 ../vault/core/controller/ui/discussion/xf.php(67): vw_UI_Discussion_Controller->execute()
      #4 ../vault/core/view/ui/page/vw.php(249): vw_UI_Discussion_Controller_XF->execute()
      #5 ../vault/core/controller/ui/page/vw.php(744): vw_UI_Page_View->get_comments(Object(vw_UI_Page_Controller_XF), true)
      #6 ../vault/core/controller/ui/page/vw.php(175): vw_UI_Page_Controller->comments()
      #7 ../vault/core/controller/ui/page/xf.php(58): vw_UI_Page_Controller->execute()
      #8 ../vault/core/controller/ui/stack/vw.php(220): vw_UI_Page_Controller_XF->execute()
      #9 ../library/vw/XenForo/ControllerPublic/Wiki.php(68): vw_UI_Stack_Controller->execute()
      #10 ../library/XenForo/FrontController.php(351): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #11 ../library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #12 ../index.php(13): XenForo_FrontController->run()
      #13 {main}
      
      Benötigter Status
      
      array(3) {
        ["url"] => string(62) "http://regio-portal.wiki/wiki/Stadtwiki_Geislingen?do=comments"
        ["_GET"] => array(1) {
          ["do"] => string(8) "comments"
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 4583
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Discussions / Comments
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.9
    Fixed Version 4.0.9
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 7, 2016 9:13 AM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs when the current area does not allow either "any discussion" or "user-created discussions".

      In vault/core/view/ui/discussion/vw.php, find:
      Code:
      $modperms = vw_Hard_Core::model('Permissions')->get('Mod', $factory->area['areaid']);
      Replace with:
      Code:
      $modperms = vw_Hard_Core::model('Permissions')->get('Mod', $this->area['areaid']);
      Reply Reply
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 12:29 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.