[Solved] How to debug this my Class in php


the only problem I see is the way youre accessing your method:

$myLogIn = new Hos_LoginStatus();
$signedInName->getUserSignedIn();

$signedInName is not defined anywhere, it should be:

$myLogIn = new Hos_LoginStatus();
$signedInName = $myLogIn->getUserSignedIn();

You should probably turn error_reporting on in order to see encountered errors.

1

solved How to debug this my Class in php