1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Undefined index media_date

Discussion in 'Media Gallery Resolved Bugs' started by tommydamic68, Nov 20, 2014.

  1. tommydamic68

    tommydamic68 Well-Known Member

    I received these errors today.

    Code:
    ErrorException: Undefined index: media_date - library/XenGallery/Model/Media.php:1860
    Generated By: Spoon&Sphynx, Today at 2:24 PM
    Stack Trace
    #0 /home/admin/public_html/community/library/XenGallery/Model/Media.php(1860): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/admin/pub...', 1860, Array)
    #1 /home/admin/public_html/community/library/XenGallery/Model/InlineMod/Media.php(290): XenGallery_Model_Media->canEditMedia(Array, NULL, Array)
    #2 /home/admin/public_html/community/library/XenGallery/Model/InlineMod/Media.php(311): XenGallery_Model_InlineMod_Media->canEditMediaData(Array, NULL, NULL)
    #3 /home/admin/public_html/community/library/XenGallery/ControllerPublic/InlineMod/Media.php(220): XenGallery_Model_InlineMod_Media->editMedia(Array, Array, NULL)
    #4 /home/admin/public_html/community/library/XenForo/FrontController.php(347): XenGallery_ControllerPublic_InlineMod_Media->actionEdit()
    #5 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #6 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
    #7 {main}
    Request State
    array(3) {
      ["url"] => string(53) "http://mysite.com/community/media/inline-mod/edit"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(9) {
        ["media"] => array(9) {
          [24586] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(12) "6 weeks old!"
            ["user_id"] => string(4) "8078"
          }
          [24587] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(47) "Hooman, what is this strange finger in my face?"
            ["user_id"] => string(4) "8078"
          }
          [24588] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(41) "This food is yum. I lick my face. Nom nom"
            ["user_id"] => string(4) "8078"
          }
          [24589] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(16) "He's so precious"
            ["user_id"] => string(4) "8078"
          }
          [24590] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(12) "7 weeks old!"
            ["user_id"] => string(4) "8078"
          }
          [24591] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(12) "8 weeks old!"
            ["user_id"] => string(4) "8078"
          }
          [24592] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(10) "Big yawns!"
            ["user_id"] => string(4) "8078"
          }
          [24593] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(12) "8 weeks big!"
            ["user_id"] => string(4) "8078"
          }
          [24594] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(12) "So handsome!"
            ["user_id"] => string(4) "8078"
          }
        }
        ["mediaids"] => array(9) {
          [0] => string(5) "24594"
          [1] => string(5) "24593"
          [2] => string(5) "24592"
          [3] => string(5) "24591"
          [4] => string(5) "24590"
          [5] => string(5) "24589"
          [6] => string(5) "24588"
          [7] => string(5) "24587"
          [8] => string(5) "24586"
        }
        ["_xfConfirm"] => string(1) "1"
        ["redirect"] => string(72) "http://mysite.com/community/media/albums/darwin-douglas.2248/?page=2"
        ["_xfToken"] => string(8) "********"
        ["save"] => string(10) "Edit Media"
        ["_xfRequestUri"] => string(51) "/community/media/albums/darwin-douglas.2248/?page=2"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
    Code:
    ErrorException: Undefined index: media_date - library/XenGallery/Model/Media.php:1860
    Generated By: Spoon&Sphynx, Today at 2:23 PM
    Stack Trace
    #0 /home/admin/public_html/community/library/XenGallery/Model/Media.php(1860): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/admin/pub...', 1860, Array)
    #1 /home/admin/public_html/community/library/XenGallery/Model/InlineMod/Media.php(290): XenGallery_Model_Media->canEditMedia(Array, NULL, Array)
    #2 /home/admin/public_html/community/library/XenGallery/Model/InlineMod/Media.php(311): XenGallery_Model_InlineMod_Media->canEditMediaData(Array, NULL, NULL)
    #3 /home/admin/public_html/community/library/XenGallery/ControllerPublic/InlineMod/Media.php(220): XenGallery_Model_InlineMod_Media->editMedia(Array, Array, NULL)
    #4 /home/admin/public_html/community/library/XenForo/FrontController.php(347): XenGallery_ControllerPublic_InlineMod_Media->actionEdit()
    #5 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #6 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
    #7 {main}
    Request State
    array(3) {
      ["url"] => string(53) "http://mysite.com/community/media/inline-mod/edit"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(9) {
        ["media"] => array(9) {
          [24586] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(12) "6 weeks old!"
            ["user_id"] => string(4) "8078"
          }
          [24587] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(47) "Hooman, what is this strange finger in my face?"
            ["user_id"] => string(4) "8078"
          }
          [24588] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(41) "This food is yum. I lick my face. Nom nom"
            ["user_id"] => string(4) "8078"
          }
          [24589] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(16) "He's so precious"
            ["user_id"] => string(4) "8078"
          }
          [24590] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(12) "7 weeks old!"
            ["user_id"] => string(4) "8078"
          }
          [24591] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(12) "8 weeks old!"
            ["user_id"] => string(4) "8078"
          }
          [24592] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(10) "Big yawns!"
            ["user_id"] => string(4) "8078"
          }
          [24593] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(12) "8 weeks big!"
            ["user_id"] => string(4) "8078"
          }
          [24594] => array(3) {
            ["media_title"] => string(6) "Darwin"
            ["media_description"] => string(12) "So handsome!"
            ["user_id"] => string(4) "8078"
          }
        }
        ["mediaids"] => array(9) {
          [0] => string(5) "24594"
          [1] => string(5) "24593"
          [2] => string(5) "24592"
          [3] => string(5) "24591"
          [4] => string(5) "24590"
          [5] => string(5) "24589"
          [6] => string(5) "24588"
          [7] => string(5) "24587"
          [8] => string(5) "24586"
        }
        ["_xfConfirm"] => string(1) "1"
        ["redirect"] => string(72) "http://mysite.com/community/media/albums/darwin-douglas.2248/?page=2"
        ["_xfToken"] => string(8) "********"
        ["save"] => string(10) "Edit Media"
        ["_xfRequestUri"] => string(51) "/community/media/albums/darwin-douglas.2248/?page=2"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
     
  2. tommydamic68

    tommydamic68 Well-Known Member

    Any thoughts on my errors here @Chris D?
     
  3. Chris D

    Chris D XenForo Developer Staff Member

    Not yet, else I would have replied already :)
     
  4. tommydamic68

    tommydamic68 Well-Known Member

    And another.

    Code:
    Error Info
    ErrorException: Undefined index: album_user_id - library/XenGallery/Model/Album.php:719
    Generated By: Turisas, Yesterday at 4:23 PM
    Stack Trace
    #0 /home/admin/public_html/community/library/XenGallery/Model/Album.php(719): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/admin/pub...', 719, Array)
    #1 /home/admin/public_html/community/library/XenGallery/Model/Album.php(714): XenGallery_Model_Album->_logChanges(Object(XenGallery_DataWriter_AlbumPermission), Array, 'permission', Array)
    #2 /home/admin/public_html/community/library/XenGallery/Model/User.php(74): XenGallery_Model_Album->writeAlbumPermission(Array, Array)
    #3 /home/admin/public_html/community/library/XenForo/ControllerPublic/Member.php(473): XenGallery_Model_User->follow(Array)
    #4 /home/admin/public_html/community/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Member->actionFollow()
    #5 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #6 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
    #7 {main}
    Request State
    array(3) {
      ["url"] => string(133) "http://mysite.com/community/members/ilovemysphynx.17/follow?_xfToken=4923%2C1416605019%2Cd8784e8ef2bf658266fc7639a4c3cb6ccf7b3025"
      ["_GET"] => array(1) {
        ["_xfToken"] => string(56) "4923,1416605019,d8784e8ef2bf658266fc7639a4c3cb6ccf7b3025"
      }
      ["_POST"] => array(5) {
        ["_xfConfirm"] => string(1) "1"
        ["_xfRequestUri"] => string(38) "/community/threads/secret-santa.29465/"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    That particular one has been fixed in the next version. Haven't looked at the other yet.
     
  6. tommydamic68

    tommydamic68 Well-Known Member

    ok.
     
  7. Chris D

    Chris D XenForo Developer Staff Member

    Both errors mentioned here are fixed now, thanks.
     
    tommydamic68 likes this.

Share This Page