Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported operand types: string & int (DataHandler.php) #51

Open
mminyades opened this issue Mar 15, 2024 · 1 comment
Open

Unsupported operand types: string & int (DataHandler.php) #51

mminyades opened this issue Mar 15, 2024 · 1 comment

Comments

@mminyades
Copy link

When attempting to import datasets of the extension "tx_news" (tx_news_domain_model_news), I receive several errors related to "DataHandler.php"

Unsupported operand types: string & int
...sysext/core/Classes/DataHandling/DataHandler.php line 2313

No data is imported.

(TYPO3 12.4.11 / News 11.4.1)

@nevaf
Copy link

nevaf commented Jun 27, 2024

Same Error with 11.5.31
Unsupported operand types: string / int
in ypo3_src-11.5.31/typo3/sysext/core/Classes/DataHandling/DataHandler.php line 1200
if ($sortColumn) {
$fieldArray[$sortColumn] = $this->getSortNumber($table, 0, $pid);
}
then this is executed in
/typo3_src-11.5.31/typo3/sysext/core/Classes/DataHandling/DataHandler.php line 771
return floor($row[$sortColumn] / 2);

How can I prevent this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants