• 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
    • Call to undefined method vw_XML_Controller::element()

    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: Call to undefined method vw_XML_Controller::element()

    • Issue Tools
      • View Changes
    1. issueid=6397 October 23, 2023 1:09 PM
      mazzly mazzly is offline
      Junior Member
      Call to undefined method vw_XML_Controller::element()

      Code:
      Error: Call to undefined method vw_XML_Controller::element() src/addons/vw/vw/_core/model/image/metadata/xmp/vw.php:937
      Generated by: Unknown account Oct 23, 2023 at 10:46 AM
      Code:
      #0 src/addons/vw/vw/_core/model/image/metadata/xmp/vw.php(745): vw_Image_MetaData_XMP_Model->setup_containers(Array, Object(vw_XML_Controller))
      #1 src/addons/vw/vw/_core/model/image/metadata/xmp/jpg/vw.php(308): vw_Image_MetaData_XMP_Model->prepare_xmp(Array)
      #2 src/addons/vw/vw/_core/model/image/metadata/xmp/jpg/vw.php(202): vw_Image_MetaData_XMP_JPG_Model->build(65533)
      #3 src/addons/vw/vw/_core/model/image/metadata/xmp/vw.php(581): vw_Image_MetaData_XMP_JPG_Model->construct()
      #4 src/addons/vw/vw/_core/model/image/format/vw.php(1229): vw_Image_MetaData_XMP_Model->update()
      #5 src/addons/vw/vw/_core/model/image/format/vw.php(1184): vw_Image_Format_Model->assert_metadata(Object(vw_Image_Structure_JPEG_Model), Object(vw_Image_Format_JPG_Model), true, 0)
      #6 src/addons/vw/vw/_core/model/image/format/vw.php(973): vw_Image_Format_Model->assert_metadata_in_object(Object(vw_Image_Format_JPG_Model))
      #7 src/addons/vw/vw/_core/controller/dm/attach/thumb/vw.php(307): vw_Image_Format_Model->resize(450, 317, 'jpg')
      #8 src/addons/vw/vw/_core/controller/dm/attach/thumb/vw.php(131): vw_DM_Attach_Thumb_Controller->create_thumbnail('jpg', Object(vw_Image_Format_JPG_Model), 450, 850)
      #9 src/addons/vw/vw/XF/Entity/EntityBase.php(513): vw_DM_Attach_Thumb_Controller->pre_save(true)
      #10 src/XF/Mvc/Entity/Entity.php(1366): vw\vw\XF\Entity\EntityBase->_preSave()
      #11 src/addons/vw/vw/XF/Entity/EntityBase.php(504): XF\Mvc\Entity\Entity->preSave()
      #12 src/addons/vw/vw/_core/controller/dm/xf2.php(387): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #13 src/addons/vw/vw/_core/controller/asset/vw.php(813): vw_DM_Controller_XF2->pre_save()
      #14 src/addons/vw/vw/_core/controller/asset/vw.php(130): vw_Asset_Controller->create_thumbnail(Array)
      #15 src/addons/vw/vw/Pub/Controller/Wiki/Asset.php(43): vw_Asset_Controller->resolve()
      #16 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Asset->_actionIndex(Object(XF\Mvc\ParameterBag))
      #17 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch(Object(vw\vw\Pub\Controller\Wiki\Asset), 'index', Object(XF\Mvc\ParameterBag))
      #18 src/XF/Mvc/Dispatcher.php(352): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex(Object(XF\Mvc\ParameterBag))
      #19 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('vw\\vw:Wiki\\Asse...', 'Index', Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Asset), NULL)
      #20 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Asset), NULL)
      #21 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #22 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
      #23 src/XF.php(524): XF\App->run()
      #24 index.php(20): XF::runApp('XF\\Pub\\App')
      #25 {main}
      Code:
      array(4) {
        ["url"] => string(26) "/wiki-asset/?pid=951&x=450"
        ["referrer"] => bool(false)
        ["_GET"] => array(3) {
          ["/wiki-asset/"] => string(0) ""
          ["pid"] => string(3) "951"
          ["x"] => string(3) "450"
        }
        ["_POST"] => array(0) {
        }
      }
      Delete
    Issue Details
    Issue Number 6397
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.7
    Fixed Version 4.1.8
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. October 23, 2023 3:33 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. In src/addons/vw/vw/_core/controller/xml/vw.php, find:
      Code:
      public function document()
      BEFORE it, add:
      Code:
      	public function element()
      	{
      		return $this->doc;
      	}
      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 1:25 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.