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

Conflict between Sentry and Ignition #30

Closed
j-fulbright opened this issue Jan 28, 2022 · 5 comments
Closed

Conflict between Sentry and Ignition #30

j-fulbright opened this issue Jan 28, 2022 · 5 comments

Comments

@j-fulbright
Copy link

Not sure if this is your issue or a Sentry specific issue, but it wasn't a problem previously with the older version.

The reported error we're seeing is Cannot assign Sentry\Laravel\Tracing\ViewEngineDecorator to property Spatie\LaravelIgnition\Views\ViewExceptionMapper::$compilerEngine of type Illuminate\View\Engines\CompilerEngine

@wit3
Copy link

wit3 commented Jan 31, 2022

me too, same problem

@atmonshi
Copy link

atmonshi commented Feb 9, 2022

getting the same:

Cannot assign Sentry\Laravel\Tracing\ViewEngineDecorator to property Spatie\LaravelIgnition\Views\ViewExceptionMapper::$compilerEngine of type Illuminate\View\Engines\CompilerEngine

@atmonshi
Copy link

It seems like it only happens on errors from blade only

to reproduce:

laravel new app
composer require sentry/sentry-laravel

open welcome.blade.php
add the code: @dump() anywhere.

visit app.test
see:

Cannot assign Sentry\Laravel\Tracing\ViewEngineDecorator to property Spatie\LaravelIgnition\Views\ViewExceptionMapper::$compilerEngine of type Illuminate\View\Engines\CompilerEngine

test repo: https://github.com/atmonshi/sentry-ignition
live site: http://45.79.13.53

@freekmurze
Copy link
Member

This is fixed in the latest release.

@mertasan
Copy link
Contributor

mertasan commented Feb 12, 2022

@freekmurze There was another similar problem. For example, in exceptions that occur in Livewire components.

I created a PR #42

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

5 participants