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

Error while trying to validate subscriber on 2.4 #4134

Closed
mcharytoniuk opened this issue Oct 10, 2020 · 7 comments
Closed

Error while trying to validate subscriber on 2.4 #4134

mcharytoniuk opened this issue Oct 10, 2020 · 7 comments
Milestone

Comments

@mcharytoniuk
Copy link

mcharytoniuk commented Oct 10, 2020

Hello,

I am using Cachet from 2.4 branch. I know it's not stable yet, but still I have this error while trying to confirm user subscription:

#61 {main} {"identification":{"id":"a7aab18a-a6a2-4e9b-9f73-4fec81c2776f"},"exception":"[object] (ErrorException(code: 0): Undefined var
iable: componentGroup (View: /opt/website/resources/views/subscribe/manage.blade.php) at /opt/website/storage/framework/views/54976ea75b
a23eb67924842ac09d71cbccd4b56c.php:46, ErrorException(code: 0): Undefined variable: componentGroup at /opt/website/storage/framework/vie
ws/54976ea75ba23eb67924842ac09d71cbccd4b56c.php:46)

It's happening after clicking subscription confirm link from an email. User is verified after that, only the view itself does not render.

Best wishes

@welcome
Copy link

welcome bot commented Oct 10, 2020

👋 Thank you for opening your first issue. I'm just an automated bot that's here to help you get the information you need quicker, so please ignore this message if it doesn't apply to your issue.
If you're looking for support, you should try the Slack group by registering your email address at https://cachethq-slack.herokuapp.com. Alternatively, email support@alt-three.com for our Professional support service (please note, this a paid service.)
If you're issue is with documentation, you can suggest edits by clicking the Suggest Edits link on any page, or open an issue at https://github.com/CachetHQ/Docs

@sergicastellsague
Copy link

sergicastellsague commented Nov 4, 2020

@mcharytoniuk the fix is pretty simple.
Modify the file resources/views/subscribe/manage.blade.php
put this as line 44: @foreach($componentGroups as $componentGroup)
and this as line 58: @Endforeach
Captura de Pantalla 2020-11-04 a les 13 35 04

(clear caches and it'll work)

@pdelorme
Copy link

pdelorme commented Nov 4, 2020

ok. this fixes it.
any idea when is it going to be released ?
thanks. that fix came just in time for me ;-)

@sergicastellsague
Copy link

No idea. I'm not a maintainer nor even a committer. I just experienced the issue and found the fix.

@nurunuriyev
Copy link

nurunuriyev commented Dec 1, 2020

i have same issue. your mentioned lines are in my config file at from 21 to 37, but it is not work.it was working 1-2 days before.there is no any OS updates

@sergicastellsague
Copy link

I don't really know @nurunuriyev, if it used to work a couple days ago, it should work today as well. Clear CAchet's cache, and restart the server.

@jbrooksuk
Copy link
Member

Thank you for your input on Cachet 2.x. We are shifting our attention and resources to Cachet 3.x and will no longer be supporting the 2.x version. If your feedback or issue is relevant to the 3.x series, we encourage you to engage with the new branch.

For more information on the Cachet rebuild and our plans for 3.x, you can read the announcement here.

We appreciate your understanding and look forward to your contributions to the new version.

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