How to add social locker on custom fields

The do_shortcode() syntax requires everything in one string.

<?php
$lockit="[lockercat]" . 'your buttons etc.' . '[/lockercat]';
echo do_shortcode($lockit);
?>

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