Bitcoin Core `getaddressesbyaccount` method not found (-32601)
The account API has been deprecated for a while, and was completely removed in Bitcoin Core 0.18.0.

You should be using the new mutliwallet API, or handling account based labelling externally.