Custom widgets do not appear in dashboard > appearance > widgets

The glob function is not supporting GLOB_BRACE on the host.
The code in functions.php can be replaced by

$widgets = glob(get_template_directory().'/widgets/*.php');
foreach ($widgets as $widget) {
    $className =  str_replace('.php', '', basename($widget) );
    include $widget;
}

to fix the issue.

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