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

logo upload fail class str not found #1749

Closed
ghost opened this issue May 4, 2016 · 9 comments
Closed

logo upload fail class str not found #1749

ghost opened this issue May 4, 2016 · 9 comments
Assignees
Labels
Bug Bugs with Cachet
Milestone

Comments

@ghost
Copy link

ghost commented May 4, 2016

Just performed a clean install of v2.2.2 and everything works fine apart from the logo upload in Themes

When uploading, I get a 500 Error with the following in the larvel log:

[2016-05-04 15:06:57] production.CRITICAL: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class 'Illuminate\Support\Facades\Str' not found' in /srv/sites/status/www/Cachet/app/Http/Controllers/Dashboard/SettingsController.php:262
Stack trace:
#0 {main} {"identification":{"id":"745b8a30-bf8d-48de-8a01-35118089e820"}}

Any Ideas?

@GrahamCampbell GrahamCampbell added this to the V2.3.0 milestone May 4, 2016
@GrahamCampbell GrahamCampbell added the Bug Bugs with Cachet label May 4, 2016
@GrahamCampbell GrahamCampbell self-assigned this May 4, 2016
@GrahamCampbell
Copy link
Contributor

Thanks for the report. This will be fixed in the v2.3.0 release.

@eladnava
Copy link

eladnava commented Jun 6, 2016

The issue is here:
https://github.com/CachetHQ/Cachet/blob/9d9d3b2e6cbaa49a26c7ef3ac5d82a857a039002/app/Http/Controllers/Dashboard/SettingsController.php#L22

It should be:

use Illuminate\Support\Str;

Isn't it worth releasing a patch version for v2.2 @GrahamCampbell?

@jbrooksuk
Copy link
Member

I'll release a 2.2 patch version.

@eladnava
Copy link

eladnava commented Jun 6, 2016

@jbrooksuk Thanks so much! =) Loving Cachet so far.

@jbrooksuk
Copy link
Member

Thanks! 😍

@eladnava
Copy link

eladnava commented Jun 6, 2016

@jbrooksuk Check out my blog post about Cachet 👍
https://eladnava.com/set-up-a-service-status-page-for-free-with-cachet/

One thing I'd recommend is updating the installation docs, but other than that, loving it!

jbrooksuk added a commit that referenced this issue Jun 6, 2016
@jbrooksuk
Copy link
Member

I've released 2.2.3 - https://github.com/CachetHQ/Cachet/releases/tag/v2.2.3

The installation docs is going to be massively rewritten for 2.3 onwards :)

@eladnava
Copy link

eladnava commented Jun 6, 2016

@jbrooksuk Awesome!

Feel free to use my blog post for some of the commands, it's got all the required PHP dependencies as well.

@jbrooksuk
Copy link
Member

Cheers! I'll probably share the post on our Twitter at some point :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bugs with Cachet
Projects
None yet
Development

No branches or pull requests

3 participants