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

Errors with Version 0.9.2 and Typo3 10.4.27 #4

Open
GitCybers opened this issue May 4, 2022 · 0 comments
Open

Errors with Version 0.9.2 and Typo3 10.4.27 #4

GitCybers opened this issue May 4, 2022 · 0 comments

Comments

@GitCybers
Copy link

I want to use the t3oodle extension 0.9.2 in typo3 10.4.27 with a created Classes.php like this:

`<?php

declare(strict_types = 1 );

return [
'tableName' => 'tx_t3oodle_domain_model_poll',
'recordType' => 'FGTCLB\T3oodle\Domain\Model\BasePoll',
'subclasses' => [
'\FGTCLB\T3oodle\Domain\Model\SimplePoll' => FGTCLB\T3oodle\Domain\Model\SimplePoll::class,
'\FGTCLB\T3oodle\Domain\Model\SchedulePoll' => FGTCLB\T3oodle\Domain\Model\SchedulePoll::class,
],
FGTCLB\T3oodle\Domain\Model\SimplePoll::class => [
'tableName' => 'tx_t3oodle_domain_model_poll',
'recordType' => 'FGTCLB\T3oodle\Domain\Model\SimplePoll'
],
FGTCLB\T3oodle\Domain\Model\SchedulePoll::class => [
'tableName' => 'tx_t3oodle_domain_model_poll',
'recordType' => 'FGTCLB\T3oodle\Domain\Model\SchedulePoll'
],
]; `

Then I get several errors:
Error Core: Error handler (BE): PHP Warning: Illegal string offset 'properties' in /kunden/84737_51427/webseiten/kgsfrankenforst2/typo3_src-10.4.27/typo3/sysext/extbase/Classes/Persistence/ClassesConfigurationFactory.php line 108

Core: Error handler (BE): PHP Warning: class_parents(): Class tableName does not exist and could not be loaded in /kunden/84737_51427/webseiten/kgsfrankenforst2/typo3_src-10.4.27/typo3/sysext/extbase/Classes/Persistence/ClassesConfigurationFactory.php line 118

Core: Exception handler (WEB): Uncaught TYPO3 Exception: array_shift() expects parameter 1 to be array, bool given | TypeError thrown in file /kunden/84737_51427/webseiten/kgsfrankenforst2/typo3_src-10.4.27/typo3/sysext/extbase/Classes/Persistence/ClassesConfigurationFactory.php in line 119. Requested URL: https://www.kgsfrankenforst.de/typo3/index.php?route=%%2Fmodule%%2Fsystem%%2FBelogLog&token=--AnonymizedToken--&tx_belog_system_beloglog%%5Bconstraint%%5D%%5Baction%%5D=-1

What can it be?

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

1 participant