cachethq / cachet

🚦 The open-source status page system.
https://cachethq.io
MIT License
13.98k stars 1.55k forks source link

Error while trying to validate subscriber on 2.4 #4134

Closed mcharytoniuk closed 1 year ago

mcharytoniuk commented 3 years ago

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[bot] commented 3 years ago

:wave: 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 commented 3 years ago

@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 commented 3 years ago

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

sergicastellsague commented 3 years ago

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

nurunuriyev commented 3 years ago

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 commented 3 years ago

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 commented 1 year ago

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.