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

Github Error #375

Closed
realodix opened this issue Jul 31, 2020 · 1 comment
Closed

Github Error #375

realodix opened this issue Jul 31, 2020 · 1 comment

Comments

@realodix
Copy link

https://github.com/oscarotero/Embed/blob/master/composer.json

https://oscarotero.com/embed/demo/index.php?url=https%3A%2F%2Fgit.luolix.top%2Foscarotero%2FEmbed%2Fblob%2Fmaster%2Fcomposer.json

Fatal error: Uncaught TypeError: Return value of Embed\Adapters\Github\Detectors\Code::fallback() must be
an instance of Embed\EmbedCode or null, none returned in
/var/www/oscarotero.com/www/embed/src/Adapters/Github/Detectors/Code.php:44 
Stack trace: #0 /var/www/oscarotero.com/www/embed/src/Adapters/Github/Detectors/Code.php(16): 
Embed\Adapters\Github\Detectors\Code->fallback() 
#1 /var/www/oscarotero.com/www/embed/src/Detectors/Detector.php(23): Embed\Adapters\Github\Detectors\Code->detect() 
#2 /var/www/oscarotero.com/www/embed/src/Extractor.php(114): Embed\Detectors\Detector->get() 
#3 /var/www/oscarotero.com/www/embed/demo/index.php(209): Embed\Extractor->__get() 
#4 {main} thrown in /var/www/oscarotero.com/www/embed/src/Adapters/Github/Detectors/Code.php on line 44
@oscarotero
Copy link
Owner

Fixed in 4.2.5. Thanks for notify

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

No branches or pull requests

2 participants