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

Directives are doing a fatal error #3

Open
robrecord opened this issue May 18, 2018 · 0 comments
Open

Directives are doing a fatal error #3

robrecord opened this issue May 18, 2018 · 0 comments

Comments

@robrecord
Copy link

robrecord commented May 18, 2018

I'm getting the following:

[18-May-2018 14:07:52 UTC] PHP Fatal error:  Uncaught TypeError: Argument 2 passed to Illuminate\View\Compilers\BladeCompiler::directive() must be callable, array given, called in /srv/www/mywebsite.com/current/vendor/webstractions/sage-xpress/src/Blade/DirectivesRepository.php on line 20 and defined in /srv/www/mywebsite.com/current/web/app/themes/sage/vendor/illuminate/view/Compilers/BladeCompiler.php:474
Stack trace:
#0 /srv/www/mywebsite.com/current/vendor/webstractions/sage-xpress/src/Blade/DirectivesRepository.php(20): Illuminate\View\Compilers\BladeCompiler->directive('directives', Array)
#1 /srv/www/mywebsite.com/current/web/app/themes/sage/vendor/illuminate/support/Collection.php(397): SageXpress\Blade\DirectivesRepository::SageXpress\Blade\{closure}(Array, 'directives')
#2 /srv/www/mywebsite.com/current/vendor/webstractions/sage-xpress/src/Blade/DirectivesRepository.php(21): Illuminate\Support\Collection->each(Object(Closure))
#3 /srv/www/mywebsite.com/current/vendor/webstractions/sage-xpress/src/Blade/DirectivesP in /srv/www/mywebsite.com/current/web/app/themes/sage/vendor/illuminate/view/Compilers/BladeCompiler.php on line 474

This is after adding the config/app.php file and referencing it in functions.php

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

1 participant