TYPO3 Exception 1476107295

Permission denied

PHP Warning: session_start(): failed: Permission denied (13)


Can be fixed by deleting all sess_ files in the temp folder or by creating the folder by hand (if it doesn't exist).

On logging into the backend

After upgrading from TYPO3 v7.6.23 to TYPO3 v8.7.9, I am getting this error most of the time that I login to the backend.


After I delete the folder var in typo3temp, the next backend login succeeds.

case 2:

#1476107295: PHP Warning: include(/var/www/html/foobar/typo3_src-8.7.29/vendor/composer/../psr/http-message/src/UriInterface.php): failed to open stream: Bad message in /var/www/html/foobar/typo3_src-8.7.29/vendor/composer/ClassLoader.php line 444 (More information)


Check your file system at the folder given in the error message and run

sudo fsck -cfk /dev/sda2

where dev/sda2 is the corrupted disk.

PHP Warning: Illegal offset type

PHP Warning: Illegal offset type in
line 234

(TYPO3 v8.7) The error occurred in CKEditor Rich Text Editor while setting a link. This was caused by the page TSconfig for the old rte html Editor. After deleting the page TSconfig for the old RTE everything works as expected again.

Using sb_portfolio2

1476107295: PHP Warning: Declaration of
$tag) should be compatible with
array $portSetup) in
line 0 (More information)

The error occurs if the function in a extended class has different arguments

Vhs ScriptViewHelper

I'm getting this error after the update from TYPO3 v8.7 to v9.5 while rendering a template which contains JavaScript in the \FluidTYPO3\Vhs\ViewHelpers\Asset\ScriptViewHelper.

Upgrading from TYPO3 8 to 9

After upgrading from TYPO3 v8 to v9 I got this error because PHP Cache is loading the files out of the old TYPO3 v8 source dir. After removing the old typo3_src-8.x.x dir or reloading the webserver the paths are correct.

PHP Warning: key() expects parameter 1 to be array, string given in ConditionMatcher.php

PHP Warning: key() expects parameter 1 to be array, string given in

It is happened because of my _GP('edit') coincided with $editStatement = GeneralUtility::_GP('edit');.

My solution: I change from "edit" to "redact", now I do not get this error.

PHP version to high

Got this error because PHP version was higher (7.3.8) than supported by Ext:mask. No problems under PHP 7.2.21.

PHP Warning: preg_match(): Compilation failed: regular expression is too large

"Uncaught TYPO3 Exception: #1476107295: PHP Warning: preg_match():
Compilation failed: regular expression is too large at offset 27 in


Ext. news: An editor created a text in a news-article (RTE) with only 1 (ONE) paragraph. In the raw data, there was no html-tag, only the beginning <p> and the ending </p> and the text had more than 3410 letters


After splitting this ONE paragraph into 3 paragraphs, the above mentioned error was gone

Calling typo3/sysext/core/bin/typo3 scheduler:run from CLI:

Array and string offset access syntax with curly braces is deprecated in
line 479


Disable Debug Mode

Extension gridelements in debug mode

When gridelements is enabled in debug mode, this error comes currently in v10.4.12 - disable the extension, when you are in debug mode and you are good to go.

PHP Warning: Undefined array key "<field>" in ControllerName.php

Using TYPO3 v11 with PHP 8 this error occurs because of misconfiguration of an extension due to changes from PHP 7.4 to 8.x. It can happen when an extension is not migrated to work with PHP 8.x. Please contact the developer to fix this issue, or fix it by yourself if it is your own extension. (See below)


Check your TCA configuration, inside the ctrl section columns might be referenced which have not been defined in columns, e.g. hidden.

Remove the offending entry in your ctrl section or add the missing column to columns.

PHP Warning: file_exists(): open_basedir restriction in effect. File(/typo3temp/assets/js/<something>.js) is not within the allowed path(s)

Happens after Updating from TYPO3 v11.5.13 to v11.5.14. There is an issue: 98106. And a patch that can be applied. Should be resolved with the next bug fix version.


PHP Warning: file_get_contents(.../public/fileadmin/<file>): failed to open stream: No such file or directory in .../public/typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php line 110


Missing file .../public/fileadmin/<file>


Add the missing file.

PHP Warning: Array to string conversion in vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/Expression/CompositeExpression.php line 174


You add some where constraints through an array with where() function and this function is waiting for string|CompositeExpression as parameter.

$constraints = [];
$constraints[] = $queryBuilder->expr()->eq('doktype', 100);
$constraints[] = $queryBuilder->expr()->in('categories.uid_local', $categories);

$result = $queryBuilder->select('pages.*')


You have to use the unpacking ellipsis (...) PHP token in order to add your constaints :

$result = $queryBuilder->select('pages.*')

PHP Warning: Division by zero in /var/www/html/public/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php line 1884

This error occurred when editing certain IRRE data and when displaying the detail list.


We add wrong TCA parameters :

'maxDBListItems' => 0,
'maxSingleDBListItems' => 0,

which generated an error in the following code (/ $this->iLimit)

 * @return string Navigation HTML
protected function renderListNavigation($renderPart = 'top')
    $totalPages = ceil($this->totalItems / $this->iLimit);
    // Show page selector if not all records fit into one page
    if ($totalPages <= 1) {
        return '';
    // ...


Check that you do not have a null value for the maxDBListItems and maxSingleDBListItems parameters.