Notice: Trying to get property of non-object in /home/hoca/public_html/App/front/arama/hoca-profil.php on line 21

Fatal error: Uncaught TypeError: Argument 1 passed to fonksiyon::profilResim() must be an instance of uye, null given, called in /home/hoca/public_html/App/front/arama/hoca-profil.php on line 22 and defined in /home/hoca/public_html/App/model/fonksiyon.php:533 Stack trace: #0 /home/hoca/public_html/App/front/arama/hoca-profil.php(22): fonksiyon->profilResim(NULL, 2) #1 {main} thrown in /home/hoca/public_html/App/model/fonksiyon.php on line 533