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

Incompatibility with Sage-based (WP theme framework) sites #34

Open
kirylrb opened this issue Feb 15, 2018 · 2 comments
Open

Incompatibility with Sage-based (WP theme framework) sites #34

kirylrb opened this issue Feb 15, 2018 · 2 comments

Comments

@kirylrb
Copy link

kirylrb commented Feb 15, 2018

Plugin causing the error on previewing draft posts in Wordpress with themes which based on Sage framework. https://discourse.roots.io/t/uncaught-invalidargumentexception/9956

Fatal error: Uncaught InvalidArgumentException: Unrecognized extension in file: in /home/forge/kobyinc.celertron.com/build_production/blog/wp-content/themes/kobyinc/vendor/illuminate/view/Factory.php:258 Stack trace: #0 /home/forge/kobyinc.celertron.com/build_production/blog/wp-content/themes/kobyinc/vendor/illuminate/view/Factory.php(227): Illuminate\View\Factory->getEngineFromPath(NULL) #1 /home/forge/kobyinc.celertron.com/build_production/blog/wp-content/themes/kobyinc/vendor/illuminate/view/Factory.php(112): Illuminate\View\Factory->viewInstance(NULL, NULL, Array) #2 [internal function]: Illuminate\View\Factory->file(NULL, Array, Array) #3 /home/forge/kobyinc.celertron.com/build_production/blog/wp-content/themes/kobyinc/app/lib/Sage/Template/Blade.php(127): call_user_func_array(Array, Array) #4 /home/forge/kobyinc.celertron.com/build_production/blog/wp-content/themes/kobyinc/app/lib/Sage/Template/Blade.php(62): Roots\Sage\Template\Blade->__call('file', Array) #5 /home/forge/kobyinc.celertron.com/build_production/blog in /home/forge/kobyinc.celertron.com/build_production/blog/wp-content/themes/kobyinc/vendor/illuminate/view/Factory.php on line 258

@kirylrb kirylrb changed the title Incompatibility with Sage framework's ( Illuminate library ) Incompatibility with Sage-based (WP theme framework) sites Feb 15, 2018
@ryanvalentin
Copy link
Contributor

Hmmm, I'm unfamiliar with the Sage framework and the exception isn't pointing out any issues to me specifically with the Disqus plugin. Do you have any pointers or additional information, such as what the unrecognized extension in the file is?

@alexanderlam
Copy link

Looks like the issue is with the hook on comments_template - it conflicts with Laravel Blade.

Please see: roots/sage#2035 (comment)

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

3 participants