I have just installed CWP on a fresh CentOS7 server. I'm having issues while trying to create a new email address from CWP admin interface (same goes from the CWP user interface).
See the attached screenshot:
![](https://club3d.ro/cwp-new-mail-error.png)
The /usr/local/cwpsrv/logs/error_log file shows something like this:
As CWP ADMIN:
2020/09/17 11:24:35 [notice] 29321#0: *1838 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/features/ HTTP/1.1", host: "127.0.0.1:2302"
2020/09/17 11:24:35 [info] 29321#0: *1838 client 127.0.0.1 closed keepalive connection
2020/09/17 11:24:35 [notice] 29321#0: *1840 "^/v1/([^/]+)/?$" matches "/v1/addemail/", client: 127.0.0.1, server: localhost, request: "POST /v1/addemail/ HTTP/1.1", host: "127.0.0.1:2302"
2020/09/17 11:24:35 [notice] 29321#0: *1840 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/addemail/ HTTP/1.1", host: "127.0.0.1:2302"
2020/09/17 11:24:35 [info] 29321#0: *1840 client 127.0.0.1 closed keepalive connection
2020/09/17 11:24:55 [error] 29321#0: *1433 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: acc in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_mail_list.php on line 0
PHP message: PHP Notice: Undefined index: acc in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_mail_list.php on line 0
PHP message: PHP Notice: Undefined variable: output in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_mail_list.php on line 0" while reading response header from upstream, client: 89.121.131.74, server: localhost, request: "GET /cwp_c14c70363907cdaf2907afa54082a9dc/admin/loader_ajax.php?ajax=mail_list&acc=list&draw=1&columns%5B0%5D%5Bdata%5D=0&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=1&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=2&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=3&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=4&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=5&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=6&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bs
2020/09/17 11:25:07 [error] 29321#0: *1433 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: acc in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_mail_list.php on line 0
PHP message: PHP Notice: Undefined index: acc in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_mail_list.php on line 0
PHP message: PHP Notice: Undefined variable: output in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_mail_list.php on line 0" while reading response header from upstream, client: 89.121.131.74, server: localhost, request: "GET /cwp_c14c70363907cdaf2907afa54082a9dc/admin/loader_ajax.php?ajax=mail_list&acc=list&draw=1&columns%5B0%5D%5Bdata%5D=0&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=1&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=2&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=3&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=4&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=5&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=6&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bs
2020/09/17 11:25:38 [error] 29320#0: *1887 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: UniMed in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_list_accounts.php on line 0
PHP message: PHP Notice: Undefined variable: UniMed in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_list_accounts.php on line 0" while reading response header from upstream, client: 95.176.131.43, server: localhost, request: "GET /cwp_6c95f5c3c9a8573330d3e01816713238/admin/loader_ajax.php?ajax=list_accounts&draw=1&columns%5B0%5D%5Bdata%5D=0&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=1&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=2&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=3&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=4&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=5&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=false&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=6&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=false&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=7&columns%5B7%5D%5Bname%5D=&col
As CWP USER:
2020/09/17 11:31:03 [error] 29321#0: *2382 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: webservers in /usr/local/cwpsrv/var/services/user_files/modules/phpselector.php on line 0
PHP message: PHP Notice: Undefined index: view_band_graph in /usr/local/cwpsrv/var/services/user_files/modules/preferences/index.php on line 0
PHP message: PHP Notice: Undefined index: view_band_graph in /usr/local/cwpsrv/var/services/user_files/modules/preferences/index.php on line 0
PHP message: PHP Notice: Undefined index: sessionip in /usr/local/cwpsrv/var/services/users/index.php on line 0" while reading response header from upstream, client: 95.176.131.43, server: localhost, request: "GET /cwp_152727ba141e13b0/wereo/?module=phpselector HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/wereo.sock:", host: "136.243.79.83:2083", referrer: "https://136.243.79.83:2083/cwp_152727ba141e13b0/wereo/"
Any help would be really appreciated!