gotski
Active member
Hello, after upgrade I need to rebuild my XF gallery thumbnails, but I received error, and after I can't restore rebuilding process. Please help.
#0 src/vendor/league/flysystem/src/MountManager.php(177): League\Flysystem\MountManager->filterPrefix(Array)
#1 src/addons/XFMG/Repository/Media.php(687): League\Flysystem\MountManager->__call('has', Array)
#2 src/addons/XFMG/Job/MediaThumb.php(61): XFMG\Repository\Media->rebuildImageThumb(Object(XFMG\Entity\MediaItem))
#3 src/XF/Job/Manager.php(241): XFMG\Job\MediaThumb->run(8)
#4 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 8)
#5 src/XF/Job/Manager.php(103): XF\Job\Manager->runJobEntry(Array, 8)
#6 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#7 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', 'html', Object(XF\Mvc\ParameterBag), 'tools', Object(XF\Admin\Controller\Tools), NULL)
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 admin.php(13): XF::runApp('XF\\Admin\\App')
#13 {main}
Request state
array(4) {
["url"] => string(24) "/admin.php?tools/run-job"
["referrer"] => string(52) "https://www.sitename.net/admin.php?tools/run-job"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(62) "https://www.sitename.net/admin.php?tools/rebuild&success=1"
["_xfToken"] => string(8) "********"
["only_ids"] => string(2) "45"
}
}
After page refresh
#0 src/addons/XFMG/Repository/Media.php(682): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/var/www/ftp0/d...', 682, Array)
#1 src/addons/XFMG/Job/MediaThumb.php(61): XFMG\Repository\Media->rebuildImageThumb(Object(XFMG\Entity\MediaItem))
#2 src/XF/Job/Manager.php(241): XFMG\Job\MediaThumb->run(8)
#3 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 8)
#4 src/XF/Job/Manager.php(103): XF\Job\Manager->runJobEntry(Array, 8)
#5 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#6 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', 'html', Object(XF\Mvc\ParameterBag), 'tools', Object(XF\Admin\Controller\Tools), NULL)
#8 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#10 src/XF.php(328): XF\App->run()
#11 admin.php(13): XF::runApp('XF\\Admin\\App')
#12 {main}
Request state
array(4) {
["url"] => string(24) "/admin.php?tools/run-job"
["referrer"] => string(52) "https://www.sitename.net/admin.php?tools/run-job"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(62) "https://www.sitename.net/admin.php?tools/rebuild&success=1"
["_xfToken"] => string(8) "********"
["only_ids"] => string(2) "45"
}
}
- InvalidArgumentException: First argument should be a string
- src/vendor/league/flysystem/src/MountManager.php:134
- Generated by: admin
- Dec 8, 2017 at 9:14 PM
#0 src/vendor/league/flysystem/src/MountManager.php(177): League\Flysystem\MountManager->filterPrefix(Array)
#1 src/addons/XFMG/Repository/Media.php(687): League\Flysystem\MountManager->__call('has', Array)
#2 src/addons/XFMG/Job/MediaThumb.php(61): XFMG\Repository\Media->rebuildImageThumb(Object(XFMG\Entity\MediaItem))
#3 src/XF/Job/Manager.php(241): XFMG\Job\MediaThumb->run(8)
#4 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 8)
#5 src/XF/Job/Manager.php(103): XF\Job\Manager->runJobEntry(Array, 8)
#6 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#7 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', 'html', Object(XF\Mvc\ParameterBag), 'tools', Object(XF\Admin\Controller\Tools), NULL)
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 admin.php(13): XF::runApp('XF\\Admin\\App')
#13 {main}
Request state
array(4) {
["url"] => string(24) "/admin.php?tools/run-job"
["referrer"] => string(52) "https://www.sitename.net/admin.php?tools/run-job"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(62) "https://www.sitename.net/admin.php?tools/rebuild&success=1"
["_xfToken"] => string(8) "********"
["only_ids"] => string(2) "45"
}
}
After page refresh
- ErrorException: [E_NOTICE] Trying to get property of non-object
- src/addons/XFMG/Repository/Media.php:682
- Generated by: admin
- Dec 8, 2017 at 9:23 PM
#0 src/addons/XFMG/Repository/Media.php(682): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/var/www/ftp0/d...', 682, Array)
#1 src/addons/XFMG/Job/MediaThumb.php(61): XFMG\Repository\Media->rebuildImageThumb(Object(XFMG\Entity\MediaItem))
#2 src/XF/Job/Manager.php(241): XFMG\Job\MediaThumb->run(8)
#3 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 8)
#4 src/XF/Job/Manager.php(103): XF\Job\Manager->runJobEntry(Array, 8)
#5 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#6 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', 'html', Object(XF\Mvc\ParameterBag), 'tools', Object(XF\Admin\Controller\Tools), NULL)
#8 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#10 src/XF.php(328): XF\App->run()
#11 admin.php(13): XF::runApp('XF\\Admin\\App')
#12 {main}
Request state
array(4) {
["url"] => string(24) "/admin.php?tools/run-job"
["referrer"] => string(52) "https://www.sitename.net/admin.php?tools/run-job"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(62) "https://www.sitename.net/admin.php?tools/rebuild&success=1"
["_xfToken"] => string(8) "********"
["only_ids"] => string(2) "45"
}
}