Skip to content

Laravel errors can't be seen, no preview. #334

@Luke-SF

Description

@Luke-SF

Run a new Laravel instance on Homestead and add a route that has a file not included, or any other error. You can see the source:

<!doctype html>
<html class="theme-light">
<head>
    <!-- Hide dumps asap -->
    <style>
        pre.sf-dump {
            display: none !important;
        }
    </style>

    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <title>🧨 Class 'app\Anynonexistenclass' not found</title>

    
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css">
</head>
<body class="scrollbar-lg">

<script>
    window.data = {"report":{"notifier":"Laravel Client","language":"PHP","framework_version":"6.0.3","language_version":"7.3.8-1+ubuntu18.04.1+deb.sury.org+1","exception_class":"Symfony\\Component\\Debug\\Exception\\FatalThrowableError","seen_at":1568745721,"message":"Class \...

but you cannot see the actual page like you could if it were in the browser. Maybe because js is never run?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions