How to check if `comment_meta` exists before inserting the comment?

First off, you need to fix the comment_meta value. It should be an array of meta key and value pairs, and not just the meta value. So give the meta a key (or name), e.g. message_id, and then do something like so: ‘comment_meta’ => array( ‘message_id’ => preg_replace(‘~[<]~’,”,strstr($mail[‘header’]->message_id, ‘@’,true)), ), Now to check if a … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)