Fatal error: Uncaught TypeError: App\Models\User::join_user_to_photo(): Argument #1 ($user_id) must be of type int, null given, called in /home/cp47323/public_html/App/Controllers/Frontend/ProfileController.php on line 41 and defined in /home/cp47323/public_html/App/Models/User.php:78 Stack trace: #0 /home/cp47323/public_html/App/Controllers/Frontend/ProfileController.php(41): App\Models\User->join_user_to_photo(NULL) #1 /home/cp47323/public_html/App/Core/Routing/Router.php(114): App\Controllers\Frontend\ProfileController->is_login() #2 /home/cp47323/public_html/App/Core/Routing/Router.php(32): App\Core\Routing\Router->dispatch(Array) #3 /home/cp47323/public_html/Public/index.php(14): App\Core\Routing\Router->run() #4 {main} thrown in /home/cp47323/public_html/App/Models/User.php on line 78