• 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 indexes: height, width (attachments).

    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 indexes: height, width (attachments).

    • Issue Tools
      • View Changes
    1. issueid=5418 June 23, 2018 10:57 AM
      ACL ACL is offline
      Regular Member
      Undefined indexes: height, width (attachments).

      Similar to #5417, except this time it relates to attachments. This specific instance was from a mass-move of a number of wiki attachments to a different wiki area. However there is also at least one instance with a request state from https://mydomain.ext/deferred.php. I'm running PHP 7.1.

      ErrorException: Undefined index: height - vault/core/model/url/attach/vw.php:40
      ErrorException: Undefined index: width - vault/core/model/url/attach/vw.php:40

      Stack Trace (for height):
      Code:
      #0 /path/to/public_html/vault/core/model/url/attach/vw.php(40): XenForo_Application::handlePhpError(8, 'Undefined index...', '/path/to/public_h...', 40, Array)
      #1 /path/to/public_html/vault/core/model/url/vw.php(949): vw_URL_Attach_Model->build_meta(Array, Array)
      #2 /path/to/public_html/vault/core/controller/dm/base/routable/vw.php(429): vw_URL_Model->build_meta(Array)
      #3 /path/to/public_html/vault/core/controller/dm/page/vw.php(521): vw_DM_Base_Routable_Controller->build_meta()
      #4 /path/to/public_html/library/vw/XenForo/DataWriter.php(512): vw_DM_Page_Controller->pre_save(true)
      #5 /path/to/public_html/library/XenForo/DataWriter.php(1460): vw_XenForo_DataWriter->_preSave()
      #6 /path/to/public_html/library/vw/XenForo/DataWriter.php(192): XenForo_DataWriter->preSave()
      #7 /path/to/public_html/vault/core/controller/dm/xf.php(402): vw_XenForo_DataWriter->preSaveWithReturn()
      #8 /path/to/public_html/vault/core/controller/ui/imod/vw.php(2335): vw_DM_Controller_XF->pre_save()
      #9 /path/to/public_html/vault/core/controller/ui/imod/vw.php(215): vw_UI_iMod_Controller->domove()
      #10 /path/to/public_html/library/vw/XenForo/ControllerPublic/Wiki/Moderate.php(51): vw_UI_iMod_Controller->execute()
      #11 /path/to/public_html/library/XenForo/FrontController.php(369): vw_XenForo_ControllerPublic_Wiki_Moderate->actionIndex()
      #12 /path/to/public_html/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #13 /path/to/public_html/index.php(13): XenForo_FrontController->run()
      #14 {main}
      Request State (for height):
      Code:
      array(3) {
        ["url"] => string(57) "https://mydomain.ext/wiki-moderate/?do=domove"
        ["_GET"] => array(1) {
          ["do"] => string(6) "domove"
        }
        ["_POST"] => array(6) {
          ["toarea"] => string(4) "1034"
          ["sbutton"] => string(4) "Move"
          ["_xfToken"] => string(8) "********"
          ["do"] => string(6) "domove"
          ["url"] => string(90) "https://mydomain.ext/wiki/Lights?do=list&sort=lastupdate&sortorder=desc&page=4"
          ["items"] => array(1) {
            [1] => array(6) {
              [294] => string(3) "294"
              [300] => string(3) "300"
              [301] => string(3) "301"
              [363] => string(3) "363"
              [512] => string(3) "512"
              [552] => string(3) "552"
            }
          }
        }
      }
    Issue Details
    Issue Number 5418
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.0.23
    Fixed Version 4.0.23
    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. June 25, 2018 9:53 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next build (002). This could occur if some of the attachments were not image-types.
      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 10:43 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.