Skip to content

Commit

Permalink
[BUGFIX] Fix error when copying a page
Browse files Browse the repository at this point in the history
When copying a page in TYPO3 v11.5.41, PHP 8.3.15 and flux 10.1.0
an exception occurs:

> (1/1) TypeError
> Cannot access offset of type string on string
> in typo3/sysext/core/Classes/Database/Query/QueryBuilder.php line 1368

Thanks to the following blog post for the solution:
https://blog.wappler.systems/typo3-error-cannot-access-offset-of-type-string-on-string-at-querybuilder-update-command/

Resolves: #2196
  • Loading branch information
cweiske authored and NamelessCoder committed Jan 17, 2025
1 parent 5715135 commit d78e45d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public function processDatamap_afterDatabaseOperations($command, $table, $id, $f
)
)
);
DoctrineQueryProxy::executeQueryOnQueryBuilder($queryBuilder);
DoctrineQueryProxy::executeStatementOnQueryBuilder($queryBuilder);
}

static::$copiedRecords[$fieldArray['t3_origuid']] = true;
Expand Down

0 comments on commit d78e45d

Please sign in to comment.