A PHP Error was encountered
Severity: Notice
Message: Undefined index: userid
Filename: views/question.php
Line Number: 191
Backtrace:
File: /var/www/html/cnasolution/application/views/question.php
Line: 191
Function: _error_handler
File: /var/www/html/cnasolution/application/controllers/Questions.php
Line: 419
Function: view
File: /var/www/html/cnasolution/index.php
Line: 315
Function: require_once
Wordpress not sending email with Mailtrap
I followed these instructions.
https://codex.wordpress.org/Plugin_API/Action_Reference/phpmailer_init
Emails are sending and working for woocommerce, for example when I complete a purchase invoices are sent. But for some reason emails do not send when registering new users to the site.
Is there some log I can check in wordpress for this.
Update: I only have this problem on localhost using Xampp. The real server seems to work fine.
Thanks in advance