Pull random comment from specific post, display on homepage with shortcode

The main issue with the code snippet is this line:

function randomComment_handler($post_id) {

Check out the Codex on add_shortcode() and see if you can find the error.

Spoiler: It should be like this:

function randomComment_handler( $atts, $content = NULL ) {

ps: You should also avoid using extract(), use $atts['post_id'] instead.

Further consider adding the third parameter to the shortcode_atts() function.

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