framework: Blade directives stack and push not working as of 5.2.27

after upgrading 5.2.27 now @stack and @push directives in blade no longer working.

Downgraded to 5.2.26 , and its working again.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 33 (23 by maintainers)

Most upvoted comments

the command “php artisan view:clear” fixed this for me after updating from 5.2.26 to 5.2.29

Hi … Sorry, didn’t get what you meant previously … Have changed @yield(‘scripts’) to @stack(‘scripts’) in the the master layout and it is now working … Thank you …

5.2.29 still not rendering @push … Has the issue been resolved and the structure I use is incorrect? I have a main layout.blade.php that is used of all forms … @include(‘navbar’) @yield(‘content’) @yield(‘scripts’)

navbar.blade.php has no “@” directives

the form I am having issues with has

@extends(‘layout’) @section(‘content’) @push(‘scripts’) @endpush @stop

Any idea’s ? 5.2.26 working ok

I think we’ll probably have to revert this and do it on master. I assume its breaking because people are required to clear their view cache? We need feedback ASAP @mark86092.

@arnoldjp57 Could you try cleaning your view cache then test again?