Plugin: Unable to Save the Image Alignment Option to Display in the Widget in the Sidebar

On the update() function, you need to modify

$instance['image_alignment'] = isset($new_instance['image_alignment'] );

to

$instance['image_alignment'] = $new_instance['image_alignment'];

isset() is making the variable boolean, while you are expecting string.

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