mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 00:36:00 +03:00
[GH-ISSUE #1] error Undefined variable: vException when there is a problem with sending emails #2
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maysara on GitHub (Aug 24, 2011).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/1
Steps to reproduce the problem:
Expected output:
Account success creation, and error/warning about failing to send email
instead i get:
Notice: Undefined variable: vException in /usr/local/vimbadmin-0.2.5/application/controllers/AdminController.php on line 370 Fatal error: Call to a member function getTraceAsString() on a non-object in /usr/local/vimbadmin-0.2.5/application/controllers/AdminController.php on line 370
What version of the product are you using? On what operating system?
I'm using version 2.5
I've done the changes below (compare commented line with the one below it)
365
366 $mailer->send();
367 }
368 catch( Exception $e )
369 {
370 //$this->getLogger()->debug( $vException->getTraceAsString() );
371 $this->getLogger()->debug( $e->getTraceAsString() );
372 $this->addMessage( _( 'Could not send welcome email' ), ViMbAdmin_Message::ALERT );
373 }
374 }
375
376 $this->addMessage( _( 'You have successfully added a new administrator to the system.' ), ViMbAdmin_Message::SUCCESS );
@barryo commented on GitHub (Aug 24, 2011):
Thanks maysara.
Fixed in:
github.com/opensolutions/ViMbAdmin@28da8724a0and will be included in the next release.