Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed GitHub setting caused entire site to go offline #26

Open
mikegcox opened this issue Feb 24, 2017 · 4 comments
Open

Embed GitHub setting caused entire site to go offline #26

mikegcox opened this issue Feb 24, 2017 · 4 comments
Labels

Comments

@mikegcox
Copy link

mikegcox commented Feb 24, 2017

I have a website that worked fine for many months. One day I visited the site and it had the Crikey Error that is pasted below. To get the site to come back online I just had to turn off "Embed GitHub" in the Plugin config.

It is only this one site that has this issue and I took the entire User folder and ran it locally and I have the same issue which eliminates the possibility of it bing the hosting environment.

All is well, I am not embedding GitHub anyhow, but I thought I should mention it and maybe find the cause.

Whoops\Exception\ErrorException thrown with message "Undefined index: gist.github.com"

Stacktrace:
#16 Whoops\Exception\ErrorException in /Users/mike/Sites/ppm/user/plugins/mediaembed/classes/Service.php:226
#15 Whoops\Run:handleError in /Users/mike/Sites/ppm/user/plugins/mediaembed/classes/Service.php:226
#14 Grav\Plugin\MediaEmbed\Service:register in /Users/mike/Sites/ppm/user/plugins/mediaembed/classes/MediaEmbed.php:105
#13 Grav\Plugin\MediaEmbed\MediaEmbed:__construct in /Users/mike/Sites/ppm/user/plugins/mediaembed/mediaembed.php:93
#12 Grav\Plugin\MediaEmbedPlugin:onPluginsInitialized in /Users/mike/Sites/ppm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
#11 call_user_func in /Users/mike/Sites/ppm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
#10 Symfony\Component\EventDispatcher\EventDispatcher:doDispatch in /Users/mike/Sites/ppm/vendor/symfony/event-dispatcher/EventDispatcher.php:46
#9 Symfony\Component\EventDispatcher\EventDispatcher:dispatch in /Users/mike/Sites/ppm/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php:23
#8 RocketTheme\Toolbox\Event\EventDispatcher:dispatch in /Users/mike/Sites/ppm/system/src/Grav/Common/Grav.php:277
#7 Grav\Common\Grav:fireEvent in /Users/mike/Sites/ppm/system/src/Grav/Common/Processors/PluginsProcessor.php:19
#6 Grav\Common\Processors\PluginsProcessor:process in /Users/mike/Sites/ppm/system/src/Grav/Common/Grav.php:126
#5 Grav\Common\Grav:Grav\Common\{closure} in /Users/mike/Sites/ppm/system/src/Grav/Common/Grav.php:368
#4 Grav\Common\Grav:Grav\Common\{closure} in /Users/mike/Sites/ppm/system/src/Grav/Common/Grav.php:344
#3 call_user_func_array in /Users/mike/Sites/ppm/system/src/Grav/Common/Grav.php:344
#2 Grav\Common\Grav:__call in /Users/mike/Sites/ppm/system/src/Grav/Common/Grav.php:127
#1 Grav\Common\Grav:measureTime in /Users/mike/Sites/ppm/system/src/Grav/Common/Grav.php:127
#0 Grav\Common\Grav:process in /Users/mike/Sites/ppm/index.php:52

@mikegcox mikegcox changed the title Embed GitHub setting caused caused entire site to go offline Embed GitHub setting caused entire site to go offline Feb 24, 2017
@Sommerregen
Copy link
Owner

@mikegcox Consider MediaEmbed as being outdated. It does not work with Grav v1.x+ for now. It needs a full rewrite and better blueprints. Any help is much appreciated since I'm running out of time and I can only minimally maintain a few plugins at the moment 😭 .

@adrian5
Copy link

adrian5 commented Jun 24, 2017

@Sommerregen Might be helpful to update the README so users aren't left in the dark.

@Sommerregen
Copy link
Owner

@adrian5 Thanks for pointing this out. It is now added to the docs.

@adrian5
Copy link

adrian5 commented Jun 25, 2017

Cheers! It's a useful type of plugin to have, so I hope you find the time to update it in the distant future, maybe when Grav releases another major revision (From what I understand, Grav 2.0 is in the works).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants