david-szabo97 / grav-plugin-admin-addon-revisions

An extension for Grav Admin plugin which adds revisions for pages.
MIT License
11 stars 8 forks source link

Revisions Add on breaks functionality of Admin Plugin #14

Closed oathorben closed 6 years ago

oathorben commented 6 years ago

Grav v1.3.10 - Admin v1.6.7. Admin Addon Revisions v1.3.1 After i updated Grav and the Admin Plugin i'm not able to

If i try to do one of the things i get the attached Server Error:

bildschirmfoto 2017-12-08 um 20 17 13

Log File after attempting to create a Page:

[2017-12-08 19:25:58] grav.CRITICAL: mkdir(): No such file or directory - Trace: #0 [internal function]: Whoops\Run->handleError(2, 'mkdir(): No suc...', '/var/www/vhosts...', 46, Array) #1 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/user/plugins/admin-addon-revisions/src/Revisions.php(46): mkdir('/var/www/vhosts...', 504) #2 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/user/plugins/admin-addon-revisions/admin-addon-revisions.php(160): AdminAddonRevisions\Revisions->create() #3 [internal function]: Grav\Plugin\AdminAddonRevisionsPlugin->onPageProcessed(Object(RocketTheme\Toolbox\Event\Event), 'onPageProcessed', Object(RocketTheme\Toolbox\Event\EventDispatcher)) #4 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/vendor/symfony/event-dispatcher/EventDispatcher.php(184): call_user_func(Array, Object(RocketTheme\Toolbox\Event\Event), 'onPageProcessed', Object(RocketTheme\Toolbox\Event\EventDispatcher)) #5 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'onPageProcessed', Object(RocketTheme\Toolbox\Event\Event)) #6 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php(23): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('onPageProcessed', Object(RocketTheme\Toolbox\Event\Event)) #7 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Grav.php(288): RocketTheme\Toolbox\Event\EventDispatcher->dispatch('onPageProcessed', Object(RocketTheme\Toolbox\Event\Event)) #8 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Page/Pages.php(269): Grav\Common\Grav->fireEvent('onPageProcessed', Object(RocketTheme\Toolbox\Event\Event)) #9 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/user/plugins/admin/classes/admin.php(1395): Grav\Common\Page\Pages->addPage(Object(Grav\Common\Page\Page), '/rgsdffdf') #10 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/user/plugins/admin/classes/admin.php(1353): Grav\Plugin\Admin\Admin->getPage('/rgsdffdf') #11 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/user/plugins/admin-addon-media-rename/admin-addon-media-rename.php(134): Grav\Plugin\Admin\Admin->page(true) #12 [internal function]: Grav\Plugin\AdminAddonMediaRenamePlugin->onTwigExtensions(Object(RocketTheme\Toolbox\Event\Event), 'onPagesInitiali...', Object(RocketTheme\Toolbox\Event\EventDispatcher)) #13 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/vendor/symfony/event-dispatcher/EventDispatcher.php(184): call_user_func(Array, Object(RocketTheme\Toolbox\Event\Event), 'onPagesInitiali...', Object(RocketTheme\Toolbox\Event\EventDispatcher)) #14 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #15 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php(23): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #16 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Grav.php(288): RocketTheme\Toolbox\Event\EventDispatcher->dispatch('onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #17 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Processors/PagesProcessor.php(25): Grav\Common\Grav->fireEvent('onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #18 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Grav.php(132): Grav\Common\Processors\PagesProcessor->process() #19 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Grav.php(379): Grav\Common\Grav->Grav\Common\{closure}() #20 [internal function]: Grav\Common\Grav::Grav\Common\{closure}('pages', 'Pages', Object(Closure)) #21 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Grav.php(355): call_user_func_array(Object(Closure), Array) #22 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Grav.php(133): Grav\Common\Grav->__call('measureTime', Array) #23 /var/www/vhosts/playground.officealpha.de/httpdocs/siteify/glogner/index.php(52): Grav\Common\Grav->process() #24 {main} [] []
david-szabo97 commented 6 years ago

Hi! This has been fixed in the latest hotfix. Please update to v1.3.2

This has been reported and fixed asap. (see #13)

On Fri, 8 Dec 2017, 20:33 oathorben, notifications@github.com wrote:

Grav v1.3.10 - Admin v1.6.7. Admin Addon Revisions v1.3.1 After i updated Grav and the Admin Plugin i'm not able to

  • create a Page
  • view /admin/user-manager/admin
  • view /admin/config/system

If i try to do one of the things i get the attached Server Error: [image: bildschirmfoto 2017-12-08 um 20 17 13] https://user-images.githubusercontent.com/2337771/33781969-f7bdfb5a-dc56-11e7-9572-72a9c7664ae6.png

Log File after attempting to create a Page: [2017-12-08 19:25:58] grav.CRITICAL: mkdir(): No such file or directory - Trace: #0 [internal function]: Whoops\Run->handleError(2, 'mkdir(): No suc...', '/var/www/vhosts...', 46, Array) #1 https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/pull/1 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/user/plugins/admin-addon-revisions/src/Revisions.php(46): mkdir('/var/www/vhosts...', 504) #2 https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/pull/2 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/user/plugins/admin-addon-revisions/admin-addon-revisions.php(160): AdminAddonRevisions\Revisions->create() #3 https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/issues/3 [internal function]: Grav\Plugin\AdminAddonRevisionsPlugin->onPageProcessed(Object(RocketTheme\Toolbox\Event\Event), 'onPageProcessed', Object(RocketTheme\Toolbox\Event\EventDispatcher)) #4 https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/issues/4 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/vendor/symfony/event-dispatcher/EventDispatcher.php(184): call_user_func(Array, Object(RocketTheme\Toolbox\Event\Event), 'onPageProcessed', Object(RocketTheme\Toolbox\Event\EventDispatcher)) #5 https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/pull/5 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'onPageProcessed', Object(RocketTheme\Toolbox\Event\Event)) #6 https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/pull/6 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php(23): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('onPageProcessed', Object(RocketTheme\Toolbox\Event\Event)) #7 https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/issues/7 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Grav.php(288): RocketTheme\Toolbox\Event\EventDispatcher->dispatch('onPageProcessed', Object(RocketTheme\Toolbox\Event\Event)) #8 https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/issues/8 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Page/Pages.php(269): Grav\Common\Grav->fireEvent('onPageProcessed', Object(RocketTheme\Toolbox\Event\Event)) #9 https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/issues/9 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/user/plugins/admin/classes/admin.php(1395): Grav\Common\Page\Pages->addPage(Object(Grav\Common\Page\Page), '/rgsdffdf')

10

https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/issues/10 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/user/plugins/admin/classes/admin.php(1353): Grav\Plugin\Admin\Admin->getPage('/rgsdffdf') #11 https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/issues/11 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/user/plugins/admin-addon-media-rename/admin-addon-media-rename.php(134): Grav\Plugin\Admin\Admin->page(true) #12 https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/issues/12 [internal function]: Grav\Plugin\AdminAddonMediaRenamePlugin->onTwigExtensions(Object(RocketTheme\Toolbox\Event\Event), 'onPagesInitiali...', Object(RocketTheme\Toolbox\Event\EventDispatcher))

13

https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/issues/13 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/vendor/symfony/event-dispatcher/EventDispatcher.php(184): call_user_func(Array, Object(RocketTheme\Toolbox\Event\Event), 'onPagesInitiali...', Object(RocketTheme\Toolbox\Event\EventDispatcher))

14

https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/issues/14 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #15 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php(23): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #16 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Grav.php(288): RocketTheme\Toolbox\Event\EventDispatcher->dispatch('onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #17 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Processors/PagesProcessor.php(25): Grav\Common\Grav->fireEvent('onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #18 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Grav.php(132): Grav\Common\Processors\PagesProcessor->process() #19 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Grav.php(379): Grav\Common\Grav->Grav\Common{closure}() #20 [internal function]: Grav\Common\Grav::Grav\Common{closure}('pages', 'Pages', Object(Closure))

21 /var/www/vhosts/

playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Grav.php(355): call_user_func_array(Object(Closure), Array) #22 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/system/src/Grav/Common/Grav.php(133): Grav\Common\Grav->__call('measureTime', Array) #23 /var/www/vhosts/ playground.officealpha.de/httpdocs/siteify/glogner/index.php(52): Grav\Common\Grav->process() #24 {main} [] []

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/david-szabo97/grav-plugin-admin-addon-revisions/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/ACJs6IqnsGTAPMLr3FvpJtBEsBEAvFa5ks5s-Y8egaJpZM4Q7i5G .