| ( ! ) 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 |
| # | Time | Memory | Function | Location |
| 1 | 0.0002 | 538216 | {main}( ) | .../index.php:0 |
| 2 | 0.0044 | 702648 | XF::runApp( $appClass = 'XF\\Api\\App' ) | .../index.php:19 |
| 3 | 0.0177 | 1849072 | XF\App->run( ) | .../XF.php:850 |
| 4 | 0.0177 | 1849072 | XF\Api\App->start( $allowShortCircuit = TRUE ) | .../App.php:2836 |
| 5 | 0.0197 | 1867352 | XF\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 |
| 6 | 0.0268 | 1904792 | XF\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 |
| 7 | 0.0268 | 1904792 | XF::visitor( ) | .../Api.php:153 |
| 8 | 0.0285 | 1908784 | XF\Repository\UserRepository->getVisitor( $userId = 0, $with = ??? ) | .../XF.php:911 |
| 9 | 0.0285 | 1908784 | XF\Repository\UserRepository->getGuestUser( $username = ???, $defaultDataManipulator = ??? ) | .../UserRepository.php:35 |
| 10 | 0.0285 | 1908784 | XF\Mvc\Entity\Manager->getEntityStructure( $shortName = 'XF\\Entity\\User' ) | .../UserRepository.php:89 |
| 11 | 0.0285 | 1909104 | XF\Mvc\Entity\Manager->getEntityClassName( $shortName = 'XF:User' ) | .../Manager.php:71 |
| 12 | 0.0285 | 1909424 | class_exists( $class = 'XF\\Entity\\User' ) | .../Manager.php:52 |
| 13 | 0.0289 | 1909496 | Composer\Autoload\ClassLoader->loadClass( $class = 'XF\\Entity\\User' ) | .../Manager.php:52 |
| 14 | 0.0289 | 1909608 | Composer\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 |