Здравствуйте, можете подсказать почему не выводится логин, а выводится только слово "Привет" PHP: <?php require "bd.php"; require "config.php"; ?> <link href="../css/verhmenu.css" type="text/css" rel="stylesheet"> <?php if( isset($_SESSION['logged_user']) ) : ?> <ul class="top-menu1"> <li><p>Привет <?php echo $_SESSION['logged_user']->login; ?><hr></p></li> <li><a href="/">Главная</a></li> <li><a href="../includes/lichkabin.php">Личный кабинет</a></li> <li class="last1"><a href="../includes/vihod.php">Выйти</a></li> </ul> <?php else : ?> <ul class="top-menu"> <li><a href="/">Главная</a></li> <li><a href="/pages/Reg.php">Регистрация</a></li> <li class="last"><a href="/pages/Vhod.php">Вход</a></li> </ul> <?php endif; ?> Вот вардамп вывода Привет object(__PHP_Incomplete_Class)#1 (11) { ["__PHP_Incomplete_Class_Name"]=> string(19) "RedBeanPHP\OODBBean" ["properties"rotected]=> array(5) { ["id"]=> string(1) "6" ["name"]=> string(10) "Игорь" ["login"]=> string(7) "Gagabon" ["email"]=> string(13) "ggsdg@fdsf.ru" ["password"]=> string(60) "$2y$10$2Pb6GlNtUaEY7uf4FjdVDO.qqxp5cfAjh4WvHADCQKimZU7.RNGwa" } ["__info"rotected]=> array(5) { ["type"]=> string(5) "users" ["sys.id"]=> string(2) "id" ["sys.orig"]=> array(1) { ["id"]=> int(0) } ["tainted"]=> bool(false) ["changed"]=> bool(false) } ["beanHelper"rotected]=> object(__PHP_Incomplete_Class)#2 (1) { ["__PHP_Incomplete_Class_Name"]=> string(44) "RedBeanPHP\BeanHelper\SimpleFacadeBeanHelper" } ["fetchType"rotected]=> NULL ["withSql"rotected]=> string(0) "" ["withParams"rotected]=> array(0) { } ["aliasName"rotected]=> NULL ["via"rotected]=> NULL ["noLoad"rotected]=> bool(false) ["all"rotected]=> bool(false) }