I've used smtp along with mailsystem and sendgrid for about 50 sites. Never got an error until today.
Following error was thrown upon clicking "Save configuration" smtp:
Warning: Illegal offset type in isset or empty in VariableRealmDefaultController->getStore() (line 267 of /srv/app/sites/all/modules/variable/variable_realm/variable_realm.class.inc).
Warning: Illegal offset type in VariableRealmDefaultController->setStore() (line 294 of /srv/app/sites/all/modules/variable/variable_realm/variable_realm.class.inc).
Warning: Illegal offset type in isset or empty in variable_store() (line 15 of /srv/app/sites/all/modules/variable/variable_store/variable_store.module).
Recoverable fatal error: Object of class stdClass could not be converted to string in _variable_store_load() (line 103 of /srv/app/sites/all/modules/variable/variable_store/variable_store.module).
Comments
Comment #2
circuscowboy commentedThis error occurs for me as well and happens when not when I save the smtp settings page but rather when I add an email to test the system. More importantly email are not sent either. The same error occurs.
I downgraded to smtp 7.x-1.2 and everything works fine.
Comment #3
dougouverson commentedLooks like it was smtp issue.