• 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
    • Undefined variable: written

    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: Undefined variable: written

    • Issue Tools
      • View Changes
    1. issueid=5302 November 12, 2017 2:09 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Undefined variable: written

      Code:
      ErrorException: Undefined variable: written - vault/core/model/image/metadata/xmp/jpg/vw.php:303 
      Generated By: Unknown Account, Nov 3, 2017
      Stack Trace
      #0 /vault/core/model/image/metadata/xmp/jpg/vw.php(303): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/...', 303, Array)
      #1 /vault/core/model/image/metadata/xmp/jpg/vw.php(199): vw_Image_MetaData_XMP_JPG_Model->build(65533)
      #2 /vault/core/model/image/metadata/xmp/vw.php(583): vw_Image_MetaData_XMP_JPG_Model->construct()
      #3 /vault/core/model/image/vw.php(1246): vw_Image_MetaData_XMP_Model->update()
      #4 /vault/core/model/image/vw.php(1201): vw_Image_Instance_Model->assert_metadata(Object(vw_Image_Structure_JPEG_Model), Object(vw_Image_Format_JPG_Model), true, 0)
      #5 /vault/core/model/image/vw.php(994): vw_Image_Instance_Model->assert_metadata_in_object(Object(vw_Image_Format_JPG_Model))
      #6 /vault/core/controller/dm/attach/thumb/vw.php(421): vw_Image_Instance_Model->resize(360, 203, 'jpg')
      #7 /vault/core/controller/dm/attach/thumb/vw.php(130): vw_DM_Attach_Thumb_Controller->create_thumbnail('jpg', Object(vw_Image_Format_JPG_Model), 360, 800)
      #8 /library/vw/XenForo/DataWriter.php(512): vw_DM_Attach_Thumb_Controller->pre_save(true)
      #9 /library/XenForo/DataWriter.php(1460): vw_XenForo_DataWriter->_preSave()
      #10 /library/vw/XenForo/DataWriter.php(192): XenForo_DataWriter->preSave()
      #11 /vault/core/controller/dm/xf.php(389): vw_XenForo_DataWriter->preSaveWithReturn()
      #12 /vault/core/controller/asset/vw.php(809): vw_DM_Controller_XF->pre_save()
      #13 /vault/core/controller/asset/vw.php(132): vw_Asset_Controller->create_thumbnail(Array)
      #14 /library/vw/XenForo/ControllerPublic/Wiki/Asset.php(42): vw_Asset_Controller->resolve()
      #15 /library/XenForo/FrontController.php(351): vw_XenForo_ControllerPublic_Wiki_Asset->actionIndex()
      #16 /library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #17 /index.php(13): XenForo_FrontController->run()
      #18 {main}
      Request State
      array(3) {
        ["url"] => string(55) "https://forum.com/wiki-asset/?pid=538&x=180&dpr=2"
        ["_GET"] => array(3) {
          ["pid"] => string(3) "538"
          ["x"] => string(3) "180"
          ["dpr"] => string(1) "2"
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 5302
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.20
    Fixed Version 4.0.21
    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. November 12, 2017 2:36 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. This occurs when trying to generate a thumbnail of a JPG where XMP data is imported from another metadata source (such as EXIF) but none of the source fields map to supported XMP fields.

      In vault/core/model/image/metadata/xmp/jpg/vw.php, find:
      Code:
      $standard = array();
      After it, add:
      Code:
      $written = array();
      Reply Reply  
    2. November 12, 2017 3:38 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Thanks
      Reply Reply  
    3. November 21, 2017 6:53 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I am still getting this error.
      Reply Reply  
    4. November 22, 2017 8:42 AM
      pegasus pegasus is offline
      VaultWiki Team
      If you are getting an error message, it is probably a different message/trace.

      If you made the above edit, it is impossible to receive the same message, unless you didn't save the edit, unless your pre-edit file is still in the Zend cache, or unless there is a bug in PHP itself.
      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 5:48 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.