fgtclb / t3oodle

Simple poll extension for TYPO3 CMS. t3oodle allows your frontend users to create new polls and vote for existing ones.
https://t3oodle.com
3 stars 2 forks source link

Errors with Version 0.9.2 and Typo3 10.4.27 #4

Open GitCybers opened 2 years ago

GitCybers commented 2 years ago

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?