( ! ) Fatal error: A function with return type must return a value in /home/el11/public_html/src/XF/Entity/User.php on line 4503
Call Stack
#TimeMemoryFunctionLocation
10.0001538328{main}( ).../index.php:0
20.0024702760XF::runApp( $appClass = 'XF\\Api\\App' ).../index.php:19
30.01161849184XF\App->run( ).../XF.php:850
40.01161849184XF\Api\App->start( $allowShortCircuit = TRUE ).../App.php:2836
50.01281867464XF\Api\App->getApiErrorResponse( $error = class XF\Phrase { protected $language = class XF\Language { protected $id = 2; protected $options = [...]; protected $db = class XF\Db\Mysqli\Adapter { ... }; protected $groupPath = '/home/el11/public_html/internal_data/code_cache/phrase_groups'; protected $phraseCache = [...]; protected $phrasesToLoad = [...]; protected $groupsCached = [...]; protected $date = class DateTime { ... }; protected $dayStartTimestamps = NULL; protected $dowTranslation = [...]; protected $rdc = [...]; protected $sdc = [...] }; protected $name = 'api_error.api_disabled'; protected $params = []; protected $allowHtml = TRUE; protected $options = [] }, $code = 503 ).../App.php:103
60.01901904904XF\Api\Mvc\Renderer\Api->postFilter( $content = ['errors' => [0 => [...]]], $reply = class XF\Mvc\Reply\Error { protected $responseCode = 503; protected $responseType = NULL; protected $responseHeaders = []; protected $sectionContext = NULL; protected $controllerClass = NULL; protected $action = NULL; protected $pageParams = []; protected $jsonParams = []; protected $viewOptions = []; protected $containerKey = NULL; protected $contentKey = NULL; protected $errors = [0 => class XF\Phrase { ... }] } ).../App.php:172
70.01901904904XF::visitor( ).../Api.php:153
80.02031908896XF\Repository\UserRepository->getVisitor( $userId = 0, $with = ??? ).../XF.php:911
90.02031908896XF\Repository\UserRepository->getGuestUser( $username = ???, $defaultDataManipulator = ??? ).../UserRepository.php:35
100.02031908896XF\Mvc\Entity\Manager->getEntityStructure( $shortName = 'XF\\Entity\\User' ).../UserRepository.php:89
110.02041909216XF\Mvc\Entity\Manager->getEntityClassName( $shortName = 'XF:User' ).../Manager.php:71
120.02041909536class_exists( $class = 'XF\\Entity\\User' ).../Manager.php:52
130.02051909608Composer\Autoload\ClassLoader->loadClass( $class = 'XF\\Entity\\User' ).../Manager.php:52
140.02051909720Composer\Autoload\{closure:/home/el11/public_html/src/vendor/composer/ClassLoader.php:575-577}( $file = '/home/el11/public_html/src/vendor/composer/../../../src/XF/Entity/User.php' ).../ClassLoader.php:427