Support the ongoing development of Laravel.io →
posted 9 years ago
Views
Last updated 1 year ago.
0

Look at the line ->render();?>;?> ;)

Last updated 1 year ago.
0

bartje1974 said:

Look at the line ->render();?>;?> ;)

Yep, that's the problem. But this part is given by the Laravel debugger. I don't know why Laravel generate this double "?>". I've tried to find the origine, but I don't have any clue. Some views work, but others give me this error.

Last updated 1 year ago.
0

I removed the file in "\app\storage\views" and now it works for one view but not for the other ones. This works :

    <body>
        <div class="content">
            <div class="container">
                @yield("content")
            </div>
        </div>
    </body>

but not this :

    <body>
        <div class="content">
            <div class="container">
                @yield("content")
            </div>
        </div>
        @include('footer')
    </body>

The @include('footer') generate :

<?php echo $__env->make('footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>; ?>

with again the "?>; ?>".

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.