Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Mohammed Abdelhadi
Mohammed Abdelhadi
17,331 Points

Error sending email

Hi Everyone, I have an error sending email suing swiftmailer. Please refer to the below error logs: Fatal error: Uncaught Error: Call to undefined method Swift_Message::send() in C:\xampp\htdocs\basicPage\index.php:53 Stack trace: #0 [internal function]: {closure}() #1 C:\xampp\htdocs\basicPage\vendor\slim\slim\Slim\Route.php(468): call_user_func_array(Object(Closure), Array) #2 C:\xampp\htdocs\basicPage\vendor\slim\slim\Slim\Slim.php(1355): Slim\Route->dispatch() #3 C:\xampp\htdocs\basicPage\vendor\slim\slim\Slim\Middleware\Flash.php(85): Slim\Slim->call() #4 C:\xampp\htdocs\basicPage\vendor\slim\slim\Slim\Middleware\MethodOverride.php(92): Slim\Middleware\Flash->call() #5 C:\xampp\htdocs\basicPage\vendor\slim\slim\Slim\Middleware\PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call() #6 C:\xampp\htdocs\basicPage\vendor\slim\slim\Slim\Slim.php(1300): Slim\Middleware\PrettyExceptions->call() #7 C:\xampp\htdocs\basicPage\index.php(67): Slim\Slim->run() #8 {main} thrown in C:\xampp\htdocs\basicPage\index.php on line 53