seems like it related to this line?
if ($member['userid']) {
I'd suggest to disable Yoast and myCRED for one day and check the result.
Also, please note that the powerful hosting is not enough if the configuration of some services is limited. You can have 64GB memory size, but the max connection to db can be 100. This is a very small number. So, I'd like to know current value of this configuration.
but the max connection to db can be 100. This is a very small number
its 200 @Robert What would you suggest i raise it to? Or is this enough?
@percysgrowroom Disable Yoast for sure.
I see an issue in your log, that probably IS related to Yoast.
PHP Warning: Undefined array key "host"
About Max_Connections, for your site i would suggest 600-800.
200 is low, for small sites (default = 100).