Why is my array of nav menus returning empty?

Are you missing a “s” in your variable return $menu_list;?
Your array is called $menus_list;

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