• 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
    • InvalidArgumentException: Accessed unknown getter 'position_id' on XF:Widget[13] src/XF/Mvc/Entity/Entity.php:194

    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: InvalidArgumentException: Accessed unknown getter 'position_id' on XF:Widget[13] src/XF/Mvc/Entity/Entity.php:194

    • Issue Tools
      • View Changes
    1. issueid=6076 July 13, 2020 6:58 AM
      Grimscythe Grimscythe is offline
      New Member
      InvalidArgumentException: Accessed unknown getter 'position_id' on XF:Widget[13] src/XF/Mvc/Entity/Entity.php:194
      Error with permissions for VaultWiki I think.

      Wiki sidebars only show on the Wiki index. Whenever I try to disable/re-enable or delete/recreate the the widgets that should be there, I get the following error:

      Code:
      #0 src/XF/Mvc/Entity/Entity.php(101): XF\Mvc\Entity\Entity->get('position_id')
      #1 src/addons/vw/vw/_core/controller/cp/block/xf2.php(66): XF\Mvc\Entity\Entity->__get('position_id')
      #2 src/addons/vw/vw/_core/controller/cp/block/vw.php(470): vw_CP_Block_Controller_XF2->get_blocklist_for_permissions()
      #3 src/addons/vw/vw/_core/controller/cp/block/vw.php(106): vw_CP_Block_Controller->edit_perms()
      #4 src/addons/vw/vw/_core/controller/cp/block/xf2.php(30): vw_CP_Block_Controller->execute('editperms', 'get')
      #5 src/addons/vw/vw/Admin/Controller/Wiki.php(103): vw_CP_Block_Controller_XF2->execute('editperms', 'get')
      #6 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Admin\Controller\Wiki->_actionIndex(Object(XF\Mvc\ParameterBag))
      #7 src/addons/vw/vw/Admin/Controller/Wiki.php(51): vw\vw\Mvc\Dispatcher::dispatch(Object(vw\vw\Admin\Controller\Wiki), 'index', Object(XF\Mvc\ParameterBag))
      #8 src/XF/Mvc/Dispatcher.php(350): vw\vw\Admin\Controller\Wiki->actionIndex(Object(XF\Mvc\ParameterBag))
      #9 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('vw\\vw\\Admin\\Con...', 'Index', Object(XF\Mvc\RouteMatch), Object(vw\vw\Admin\Controller\Wiki), NULL)
      #10 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\Admin\Controller\Wiki), NULL)
      #11 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #12 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
      #13 src/XF.php(391): XF\App->run()
      #14 admin.php(13): XF::runApp('XF\\Admin\\App')
      #15 {main}
      Code:
      array(4) {
        ["url"] => string(98) "/admin.php?wiki/block/&do=editperms&permissionid=2return_panel=block&return_params[do]=permissions"
        ["referrer"] => string(70) "https://ofdreamsandnightmares.com/admin.php?wiki/block/&do=permissions"
        ["_GET"] => array(4) {
          ["wiki/block/"] => string(0) ""
          ["do"] => string(9) "editperms"
          ["permissionid"] => string(19) "2return_panel=block"
          ["return_params"] => array(1) {
            ["do"] => string(11) "permissions"
          }
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 6076
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Widgets / Sideblocks
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.0 RC 3
    Fixed Version 4.1.0
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags error, Server Error




    1. July 13, 2020 8:49 AM
      Grimscythe Grimscythe is offline
      New Member
      It appears that the issue has resolved itself. Or not. It appears to be intermittent. Sometimes the sidebars load, sometimes they do not.
      Reply Reply  
    2. July 13, 2020 1:11 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed the error message on the Widget Permissions page in the next release. It occurs if there is a wiki-related widget that has not been assigned to at least 1 widget position. This is typical of widgets that were created solely for use by BB-Codes rather than for sidebar.

      As for widgets not appearing intermittently, I have not noticed this issue on your site. However, I have noticed that some wiki areas seem to have no widgets assigned. If you are navigating back and forth between areas, this might give an impression of intermittent widgets.

      For your "System" and "Test" areas, if you go into the AdminCP Area Manager's edit page for them, check Miscellaneous options > Widgets shown in this area.
      Reply Reply  
    3. July 13, 2020 10:04 PM
      Grimscythe Grimscythe is offline
      New Member
      Quote Originally Posted by pegasus
      Fixed the error message on the Widget Permissions page in the next release. It occurs if there is a wiki-related widget that has not been assigned to at least 1 widget position. This is typical of widgets that were created solely for use by BB-Codes rather than for sidebar.

      As for widgets not appearing intermittently, I have not noticed this issue on your site. However, I have noticed that some wiki areas seem to have no widgets assigned. If you are navigating back and forth between areas, this might give an impression of intermittent widgets.

      For your "System" and "Test" areas, if you go into the AdminCP Area Manager's edit page for them, check Miscellaneous options > Widgets shown in this area.
      Thank you!
      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 9:44 AM.
    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.