-
Notifications
You must be signed in to change notification settings - Fork 624
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 when signing up for Mobile alerts #895
Comments
That doesn't look good. Can you add more information on how to reproduce this bug and what version of the software you were using? |
Also - in this case its probably relevant to add what plugins you're using (especially for sending/receiving SMS) |
Right, sorry about that. Would you believe I used to be a software tester.... Ushahidi 2.5 But I had a very strange upgrade where I had to do a fresh install without using the installer, and manually create auth.php, config.php, and encryption.php I believe this is happening in both Firefox and Chrome. I'm working from Ubuntu 11.10 so I don't know if it's happening in IE To reporduce:
Note: manually modifying e-mail alert recipients in the database to be SMS alert recipients does not seem to result in Alerts being sent either. However, I don't think whether SMS alerts work can be properly tested on my deployment until this issue is resolved. Installed plugins: Add This: 0.1 Uninstalled but listed Plugins: Clickatell 0.5 |
$this-> was being used in a static function. Changed to self::
Look at the code its actually a fairly simple and obvious error. Still present in 2.6 sadly so you might need to patch manually. |
Yes, That would have been simple and obvious if I knew PHP. A few days ago when I started looking into this, I pretty much knew it was an error with that line, but had no idea what to do with it. I'll patch manually and see if this works. Next will be to see if the alerts actually go out. Thanks a bunch for this! |
$this-> was being used in a static function. Changed to self::
Fatal error: Using $this when not in object context in /home/nepalmon/public_html/application/helpers/alert.php on line 34
When using the Alerts page to sign up for mobile alerts. Any advice?
The text was updated successfully, but these errors were encountered: