CedNet's avatar

Whoops updated in minor 5.4 version?

Hi! I see a new red colored Whoops error that is more useless than normal.

https://ibb.co/k3zJkv (why doesn't this forum allow upload of images...?)

In the the grey exception error title the actual error code is not markable so that I can copy it for searching in the code or the web. I have to either use the browser source code, or use debug tool to select the element and toggle text. Or manually type it in in my IDE.

How can I switch back to the previous version?

0 likes
9 replies
Screenbeetle's avatar

Hi @CedNet

Do you mean switch back to a previous Laravel version? You should be able to set the version you want in your composer.json file and run composer install. Personally I would also look at fixing the code that's causing the issue too.

In the the grey exception error title the actual error code is not markable

I'm interested to know what you mean here. Do you mean you can't copy and paste it? And out of interest - how come you don't have a default Laravel error page - are you using a custom error layout?

CedNet's avatar

No, minor 5.4 update.

See screenshot (click URL).

Yes, can't mark text and copy paste it.

Screenbeetle's avatar

Sorry I was including minor updates when I said go back to a previous version.

The current version is v5.4.24. You should be able to just set your composer.json file to any specific minor version before this e.g. "laravel/framework": "5.4.23",. If you are in dev then run composer update and it should pull in the stated version

To know what version you've got run php artisan --version

CedNet's avatar

It did not help to revert to a specific version I have in another project that does NOT have this version of "whoops". It must be the Symfony debug package that has no version cap in the depency for the Laravel framework.

Is there a way to limit the depency version of Laravels own depencies??

Screenbeetle's avatar

Morning @CedNet I just updated a project and see the new error stack as per your screenshot. And I agree - it's annoying that you can't select and copy title.

For some reason this line has been added to the css which prevents selection:

.trace-head { 
-webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; 
}

You can still copy the text via firebug / console.

CedNet's avatar

So, no resolution to this eh?

Please or to participate in this conversation.