I have done so: I deleted corroding entry from ost_config
and gain from ost_mail_account
.
Still the same error (Call to undefined method EmailAccountConfig::toArray()
) when clicking on "save settings".
[Wed Nov 22 06:44:04.641007 2023] [php:error] [pid 76842] [client 10.128.10.141:37764] PHP Fatal error: Uncaught Error: Call to undefined method EmailAccountConfig::toArray() in /var/www/osticket.int.axxteq.de/upload/include/class.email.php:814\nStack trace:\n#0 /var/www/osticket.int.axxteq.de/upload/include/class.email.php(785): EmailAccount->getBasicAuthCredentials()\n#1 /var/www/osticket.int.axxteq.de/upload/include/class.email.php(760): EmailAccount->getCredentials()\n#2 /var/www/osticket.int.axxteq.de/upload/include/class.email.php(1179): EmailAccount->getFreshCredentials()\n#3 /var/www/osticket.int.axxteq.de/upload/include/class.email.php(1239): MailBoxAccount->setInfo()\n#4 /var/www/osticket.int.axxteq.de/upload/include/class.email.php(325): MailBoxAccount->update()\n#5 /var/www/osticket.int.axxteq.de/upload/scp/emails.php(35): Email->update()\n#6 {main}\n thrown in /var/www/osticket.int.axxteq.de/upload/include/class.email.php on line 814, referer: http://osticket.int.axxteq.de/scp/emails.php?id=1
```
Database entries have been written to `ost_config` and `ost_email_account`(but only for smtp where I clicked "safe configuration").
1) Is there there a SQL-file which I can used I the database structure is correct? Although there are no errors in the logs of the upgrade process maybe the database has not been adapted automatically to the current structure.
2) The code producing the error is
$c=$this->getConfig()
$c->toArray()
which used `EmailAccountConfig` constructed by it`s base class `Config` . Maybe this cannot read DB entries correctly?
How can I debug?