the problem is that at the time of doing the data verification it gives error
controller public function indexPainel(UserValidacao $validacao){ $pageLocalizacao = "painel"; // se estiver em alguma pagina logado do painel return view("pages.painel",compact('pageLocalizacao')); }
here is on view {{ @switch($pageLocalizacao) @case("painel") First case... @break @endswitch }}
error ErrorException (E_ERROR) syntax error, unexpected '<' (View: C:\SergipeImoveis\resources\views\Templade\fundo.blade.php) (View: C:\SergipeImoveis\resources\views\Templade\fundo.blade.php) (View: C:\SergipeImoveis\resources\views\Templade\fundo.blade.php) Previous exceptions syntax error, unexpected '<' (View: C:\SergipeImoveis\resources\views\Templade\fundo.blade.php) (View: C:\SergipeImoveis\resources\views\Templade\fundo.blade.php) (0) syntax error, unexpected '<' (View: C:\SergipeImoveis\resources\views\Templade\fundo.blade.php) (0) syntax error, unexpected '<' (0)
C:\SergipeImoveis\storage\framework\views\231f81521b227013a719d40c9f024b64d1a18be2.php
<?php echo e(<?php switch($pageLocalizacao): case ("painel"): ?> First case... <?php break; ?> <?php endswitch; ?>); ?> <div id="modal-Reload" class="md_Reload-conteiner"> <img src="<?php echo e($urlPerso); ?>packet_lrc/_css/_animation_img/loading-gears-animation-13-3.gif" alt=""/> </div<!-- fim load--> </body> </html><?php /**PATH C:\SergipeImoveis\resources\views/Templade/fundo.blade.php ENDPATH**/ ?> Arguments "syntax error, unexpected '<'" Exception message: syntax error, unexpected '<' Exception message: syntax error, unexpected '<' (View: C:\SergipeImoveis\resources\views\Templade\fundo.blade.php) Exception message: syntax error, unexpected '<' (View: C:\SergipeImoveis\resources\views\Templade\fundo.blade.php) (View: C:\SergipeImoveis\resources\views\Templade\fundo.blade.php)Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community