-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error Table missing #3
Comments
it seems the ext_tables.sql wasn`t updated/changed.... |
Hi, this extension is not compatible with 10.4 version of TYPO3 because the ext_typoscript_setup.typoscript file was removed and replaced by Configuration/Extbase/Persistence/Classe.php. Just add this part of php code in a Configuration/Extbase/Persistence/Classe.php to resolve this issue [ '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' ], ]; |
Thanks for your answer. Do I have to change the Classes.php like this:
|
If I create the file Classes.php like this I get this error if I start my website: |
There's an syntax error: You need to drop the extra <?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'
],
]; |
Like this? Then I get this error: Oops, an error occurred! |
Please, try to have a setup with PHP syntax validation. Teaching basics like this is out of scope of this issue/project. ;-) |
Thanks for your help. This error seems to be in the main code of the t3oodle extension. My PHP ist very bad. I just want to use this extension for a school website. It is not my profession. Just a hobby... |
If that is the case, please create a ticket with all necessary details (your exact TYPO3 version, the full error including stack trace, your last steps, etc.) |
once again: 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 |
Hello,
with version 0.9.2 I get this error:
Table 'db84737_8.tx_t3oodle_domain_model_basepoll' doesn't exist
The text was updated successfully, but these errors were encountered: