{"status":"500","message":"Cannot set property 'mail' of undefined","stack":"TypeError: Cannot set property 'mail' of undefined\n at App.setMailer (/var/www/vhosts/fumantology.com/app/lib/core/app.js:78:32)\n at App.setup (/var/www/vhosts/fumantology.com/app/lib/modules/mail.js:12:14)\n at App._exec (/var/www/vhosts/fumantology.com/app/lib/core/app.js:224:57)\n at App._exec (/var/www/vhosts/fumantology.com/app/lib/core/app.js:206:28)\n at App.exec (/var/www/vhosts/fumantology.com/app/lib/core/app.js:177:20)\n at App.condition (/var/www/vhosts/fumantology.com/app/lib/modules/core.js:97:24)\n at App._exec (/var/www/vhosts/fumantology.com/app/lib/core/app.js:224:57)\n at App.exec (/var/www/vhosts/fumantology.com/app/lib/core/app.js:177:20)\n at App.define (/var/www/vhosts/fumantology.com/app/lib/core/app.js:160:20)\n at processTicksAndRejections (internal/process/task_queues.js:89:5)"}
Perhaps I should have posted this as a bug, but I prefer to see if anyone else has had this problem or is it just me .
{"status":"500","message":"Cannot set property 'mail1' of undefined","stack":"TypeError: Cannot set property 'mail1' of undefined\n at App.setMailer (/var/www/vhosts/fumantology.com/app/lib/core/app.js:78:32)\n at App.setup (/var/www/vhosts/fumantology.com/app/lib/modules/mail.js:12:14)\n at App._exec (/var/www/vhosts/fumantology.com/app/lib/core/app.js:224:57)\n at App._exec (/var/www/vhosts/fumantology.com/app/lib/core/app.js:206:28)\n at App.exec (/var/www/vhosts/fumantology.com/app/lib/core/app.js:177:20)\n at App.condition (/var/www/vhosts/fumantology.com/app/lib/modules/core.js:97:24)\n at App._exec (/var/www/vhosts/fumantology.com/app/lib/core/app.js:224:57)\n at App.exec (/var/www/vhosts/fumantology.com/app/lib/core/app.js:177:20)\n at App.define (/var/www/vhosts/fumantology.com/app/lib/core/app.js:160:20)\n at processTicksAndRejections (internal/process/task_queues.js:89:5)"}
{"status":"500","message":"mail.send: fromEmail is required.","stack":"Error: mail.send: fromEmail is required.\n at App.parseRequired (/var/www/vhosts/pleysier.com.au/app/lib/core/app.js:289:19)\n at App.send (/var/www/vhosts/pleysier.com.au/app/lib/modules/mail.js:18:30)\n at App._exec (/var/www/vhosts/pleysier.com.au/app/lib/core/app.js:251:57)\n at App._exec (/var/www/vhosts/pleysier.com.au/app/lib/core/app.js:233:28)\n at processTicksAndRejections (internal/process/task_queues.js:89:5)\n at async App.exec (/var/www/vhosts/pleysier.com.au/app/lib/core/app.js:204:9)\n at async App.condition (/var/www/vhosts/pleysier.com.au/app/lib/modules/core.js:97:13)\n at async App._exec (/var/www/vhosts/pleysier.com.au/app/lib/core/app.js:251:30)\n at async App.exec (/var/www/vhosts/pleysier.com.au/app/lib/core/app.js:204:9)\n at async App.define (/var/www/vhosts/pleysier.com.au/app/lib/core/app.js:187:9)"}
The error you have is when no email was supplied. I tested your page and got an other error: Hostname/IP does not match certificate's altnames: IP: 119.224.146.130 is not in the cert's list: , something with not being able to validate the certificate.
What kind of problems causes it? Do the problems go away when restoring the old app.js again?
Apologies for the late reply. This is the error message when logging out:
{"status":"500","message":"Cannot read property 'connection' of undefined","stack":"TypeError: Cannot read property 'connection' of undefined\n at App.setDbConnection (C:\Users\BenP\www\kidsjs\lib\core\app.js:146:21)\n at App.getDbConnection (C:\Users\BenP\www\kidsjs\lib\core\app.js:167:25)\n at new DatabaseProvider (C:\Users\BenP\www\kidsjs\lib\auth\database.js:9:23)\n at App.setAuthProvider (C:\Users\BenP\www\kidsjs\lib\core\app.js:125:34)\n at App.provider (C:\Users\BenP\www\kidsjs\lib\modules\auth.js:5:31)\n at App._exec (C:\Users\BenP\www\kidsjs\lib\core\app.js:251:57)\n at App.exec (C:\Users\BenP\www\kidsjs\lib\core\app.js:204:20)\n at App._exec (C:\Users\BenP\www\kidsjs\lib\core\app.js:223:25)\n at async App._exec (C:\Users\BenP\www\kidsjs\lib\core\app.js:233:17)\n at async App.exec (C:\Users\BenP\www\kidsjs\lib\core\app.js:204:9)"}