• 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
    • must define an entity value log entries

    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: must define an entity value log entries

    • Issue Tools
      • View Changes
    1. issueid=6365 December 4, 2022 7:03 AM
      expanserpb expanserpb is offline
      Junior Member
      must define an entity value log entries

      Getting a good few of these for different pages


      LogicException: Content type vwpage must define an 'entity' value src/XF/App.php:2750
      Generated by: Karrade Nov 29, 2022 at 9:01 PM
      Stack trace
      #0 src/XF/Service/Tag/Changer.php(52): XF\App->getContentTypeEntity('vwpage')
      #1 src/addons/vw/vw/XF/Service/Tag/Changer.php(36): XF\Service\Tag\Changer->__construct(Object(XF\Pub\App), 'vwpage', Object(vw_DM_Page_Controller_XF2))
      #2 src/XF/Container.php(276): vw\vw\XF\Service\Tag\Changer->__construct(Object(XF\Pub\App), 'vwpage', Object(vw_DM_Page_Controller_XF2))
      #3 src/XF/App.php(1710): XF\Container->createObject('vw\\vw\\XF\\Servic...', Array)
      #4 src/XF/Container.php(234): XF\App->XF\{closure}('vw\\vw\\XF\\Servic...', Array, Object(XF\Container))
      #5 src/XF/App.php(3023): XF\Container->create('service', 'XF:Tag\\Changer', Array)
      #6 src/XF/Mvc/Controller.php(808): XF\App->service('XF:Tag\\Changer', 'vwpage', Object(vw_DM_Page_Controller_XF2))
      #7 src/addons/vw/vw/_core/controller/proxy/tagging/xf2.php(26): XF\Mvc\Controller->service('XF:Tag\\Changer', 'vwpage', Object(vw_DM_Page_Controller_XF2))
      #8 src/addons/vw/vw/_core/controller/proxy/tagging/vw.php(65): vw_Proxy_Tagging_Controller_XF2->perform_tags()
      #9 src/addons/vw/vw/_core/controller/ui/page/vw.php(1441): vw_Proxy_Tagging_Controller->tags(Object(vw_UI_Page_Controller), Array, 'Page')
      #10 src/addons/vw/vw/_core/controller/ui/page/vw.php(314): vw_UI_Page_Controller->tags()
      #11 src/addons/vw/vw/_core/controller/ui/stack/vw.php(298): vw_UI_Page_Controller->execute()
      #12 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #13 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex(Object(XF\Mvc\ParameterBag))
      #14 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch(Object(vw\vw\Pub\Controlle r\Wiki\Wiki), 'index', Object(XF\Mvc\ParameterBag))
      #15 src/XF/Mvc/Dispatcher.php(352): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex(Object(XF\Mvc\ParameterBag))
      #16 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('\\vw\\vw\\Pub\\Cont...', 'Index', Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #17 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #18 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #19 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
      #20 src/XF.php(524): XF\App->run()
      #21 index.php(20): XF::runApp('XF\\Pub\\App')
      #22 {main}
      Request state
      array(4) {
      ["url"] => string(149) "/Folklore/Amades?do=tags&_xfRequestUri=%2FFolklore%2FAmades&_xfWith Data=1&_xfToken=removedResponseType=json"
      ["referrer"] => string(40) "https://chroniclesrp.net/Folklore/Amades"
      ["_GET"] => array(6) {
      ["/Folklore/Amades"] => string(0) ""
      ["do"] => string(4) "tags"
      ["_xfRequestUri"] => string(16) "/Folklore/Amades"
      ["_xfWithData"] => string(1) "1"
      ["_xfToken"] => string(43) "removed"
      ["_xfResponseType"] => string(4) "json"
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 6365
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Editing Pages
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.6
    Fixed Version 4.1.6
    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 (none)




    1. December 5, 2022 1:46 AM
      pegasus pegasus is offline
      VaultWiki Team
      Yeah, the entity values were removed because they don't play well with other add-ons and the only purpose they had was in the tag changer when editing wiki page tags. Tag changer only uses an entity to pull a content's ID number, which VaultWiki provides manually anyway, but it looks like a more in-depth workaround is needed to avoid an error message.

      In src/addons/vw/vw/XF/Service/Tag/Changer.php, find:
      Code:
      parent::__construct($app, $contentType, $context);
      Replace with:
      Code:
      		try
      		{
      			parent::__construct($app, $contentType, $context);
      		}
      		catch (\LogicException $e)
      		{
      			if (!$this->vwIdField OR $e->getMessage() != "Content type $contentType must define an 'entity' value")
      			{
      				throw $e;
      			}
      		}
      Then try to save your changes to a wiki page's tags again.
      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:52 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.