---
title: "TYPO3 Exception 1363778104"
manual: "TYPO3 Exceptions"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3exceptions:typo3-exception-1363778104"
source: "Exceptions/1363778104.rst"
modified: "2026-09-16T07:39:08+00:00"
---

# TYPO3 Exception 1363778104

> [!NOTE]
> Below, the TYPO3 community may have provided additional information or
> solutions for this exception. However, these may or may not apply to your
> particular case. If you can provide more information, you should come back
> here and add your experience and solution steps to this issue once you have
> resolved it.
>
> General TYPO3 troubleshooting tips can be found in the *Troubleshooting*
> section in the menu. You can also ask questions and receive support in the
> [TYPO3 Questions category on talk.typo3.org](https://talk.typo3.org/c/typo3-questions/).
>
> To add your experience, click "Edit on GitHub" above and follow the
> ["Edit on GitHub" workflow](https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/Howto/EditOnGithub.html#docs-contribute-github-method).
> Also check out
> [our tip on Coding Style and reST](https://docs.typo3.org/permalink/t3exceptions:tip-about-rest-coding-style).

## There is no `@var` annotation for property "..." in class "..."

### TYPO3 v12.4 - 21.03.2025

For each property of a domain model Extbase needs to determine the type. It is prefered to use a real PHP type:

```diff
 class UserData extends AbstractEntity
 {
-    public $frontendUser = null;
+    public ?FrontendUser $frontendUser = null;
     //...
 }
```

If using typed properties is not and option for some reason, you can use the `@var` annotation instead:

```diff
 class UserData extends AbstractEntity
 {
+    /** @var ?FrontendUser $frontendUser*/
     public $frontendUser = null;
     //...
 }
```

### Before TYPO3 v10

**If you inject a service, or whatever other class in a model:**

Please be sure you implement the Singleton interface in the service.

Example:

I have a Domain Model under \\CustomDomainModel.php, in which I do:

```php
/**
* myService # optional property name as this is not really a property, it does not make much sense to name it
*
* @var \Custom\Services\MyService
* @inject
* @lazy
*/

protected $myService;
```

Then I need to make sure `MyService` class is declared like this:

```
class MyService extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController implements \TYPO3\CMS\Core\SingletonInterface
```
