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

Duplicate Error when user tried to tag on image

Sunka

Well-known member
#1
Any help for this error?
User tried to tag on his image in Gallery. Permissions are set OK

Edit: I just tried to tag as SuperAdmin and I can tag on user image, but user can not (it is user own image, and permission analyze show yes to tag on own image other users and his self)

Code:
Server Error Log
Error Info
ErrorException: Invalid argument supplied for foreach() - library/XenGallery/Model/Media.php:2256
Generated By: Saptacica Oradama, 1 minute ago
Stack Trace
#0 /home/nginx/domains/pijanitvor.com/public/library/XenGallery/Model/Media.php(2256): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/home/nginx/dom...', 2256, Array)
#1 /home/nginx/domains/pijanitvor.com/public/library/XenGallery/ControllerHelper/Media.php(272): XenGallery_Model_Media->canTagMedia(Array, NULL)
#2 /home/nginx/domains/pijanitvor.com/public/library/XenGallery/ControllerPublic/Media.php(1486): XenGallery_ControllerHelper_Media->assertCanTagMedia(Array)
#3 /home/nginx/domains/pijanitvor.com/public/library/XenForo/FrontController.php(351): XenGallery_ControllerPublic_Media->actionTagInput()
#4 /home/nginx/domains/pijanitvor.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /home/nginx/domains/pijanitvor.com/public/index.php(13): XenForo_FrontController->run()
#6 {main}
Request State
array(3) {
  ["url"] => string(321) "https://www.pijanitvor.com/index.php?xengallery/tag-input&media_id=1293&tag_x1=280&tag_y1=370&tag_x2=480&tag_y2=570&tag_width=200&tag_height=200&tag_multiplier=0.8625&&_xfRequestUri=%2Fmedia%2Fslavljenicka.1293%2F&_xfNoRedirect=1&_xfToken=28240%2C1456268812%2Cadf3d8358302a28a30acd208ac887dd77ac35deb&_xfResponseType=json"
  ["_GET"] => array(13) {
    ["xengallery/tag-input"] => string(0) ""
    ["media_id"] => string(4) "1293"
    ["tag_x1"] => string(3) "280"
    ["tag_y1"] => string(3) "370"
    ["tag_x2"] => string(3) "480"
    ["tag_y2"] => string(3) "570"
    ["tag_width"] => string(3) "200"
    ["tag_height"] => string(3) "200"
    ["tag_multiplier"] => string(6) "0.8625"
    ["_xfRequestUri"] => string(25) "/media/slavljenicka.1293/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(57) "28240,1456268812,adf3d8358302a28a30acd208ac887dd77ac35deb"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited: