Very mysterious debug error when running rstanarm/rstan chains — “Error in x$.self$finalize() : attempt to apply non-function”?

Thanks for your reply. This error has been very strange for me because it doesn’t shut down the process, nor does it seem to alter the results I have been getting in any theoretical way. When you mention garbage being collected, may I ask what part of the code indicates that? thanks!