• 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
    • LogicException: Content type vwcomment must define an 'entity' value src/XF/App.php:2729

    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: LogicException: Content type vwcomment must define an 'entity' value src/XF/App.php:2729

    • Issue Tools
      • View Changes
    1. issueid=6224 July 3, 2021 3:57 PM
      Forsaken Forsaken is offline
      Junior Member
      LogicException: Content type vwcomment must define an 'entity' value src/XF/App.php:2729

      Not sure if this is something that needs to be fixed on Vault Wiki, or on Xon's Elastic Search Enhancement add-on.

      Code:
      #0 src/addons/SV/ElasticSearchEssentials/Repository/SearchTrait.php(103): XF\App->getContentTypeEntity('vwcomment')
      #1 src/addons/SV/ElasticSearchEssentials/XF/Pub/Controller/Search.php(69): SV\ElasticSearchEssentials\XF\Repository\XF22\Search->isTagSupported('vwcomment', true)
      #2 src/XF/Mvc/Dispatcher.php(350): SV\ElasticSearchEssentials\XF\Pub\Controller\Search->actionIndex(Object(XF\Mvc\ParameterBag))
      #3 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Search', 'Index', Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Search), NULL)
      #4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Search), NULL)
      #5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #6 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
      #7 src/XF.php(488): XF\App->run()
      #8 index.php(20): XF::runApp('XF\\Pub\\App')
      #9 {main}
    Issue Details
    Issue Number 6224
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.2
    Fixed Version 4.1.3
    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. July 4, 2021 11:40 AM
      pegasus pegasus is offline
      VaultWiki Team
      The best way for Xon's search addon to get a well-formed entity would be to call the content-type search handler's "getContent" method. Depending on what Xon is using it for, filling an existing entity manually may not get the correct result.

      In any case, you can create an entity record for the vwcomment type as follows. In AdminCP > Development > Content types, add field:

      Content type: vwcomment
      Field: entity
      Value: vw_DM_Comment_Controller_XF2
      Addon: VaultWiki

      It will be included in the next release.
      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 2:42 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.