add php shortcode in return function

Do not call do_shortcode(). Use the associated handler instead.

And if you want to call the shortcode without parameters you have to make the parameters optional in the handler’s declaration:

function custom_slidessc($atts = array(), $content = null)

So what you need is:

return '<img>' . custom_slidessc();

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