nikrou / eventHandler

a dotclear plugin to manage events in your blog.
Other
2 stars 5 forks source link

New error with latest version #47

Closed franck-tomek closed 2 years ago

franck-tomek commented 2 years ago

Affecting only backend (admin unreachable), frontend is ok: `PHP Fatal error: Uncaught TypeError: Argument 3 passed to dbStructTable::field() must be of the type int or null, string given, called in /dc/inc/libs/clearbricks/dbschema/class.dbstruct.php on line 514 and defined in /dc/inc/libs/clearbricks/dbschema/class.dbstruct.php:487 Stack trace:

0 /dc/inc/libs/clearbricks/dbschema/class.dbstruct.php(514): dbStructTable->field('event_address', 'text', '', true, NULL)

1 /site/plugins/eventHandler/_install.php(38): dbStructTable->__call('event_address', Array)

2 /dc/inc/core/class.dc.modules.php(819): require('/home/xxx/...')

3 /dc/inc/core/class.dc.modules.php(551): dcModules->loadModuleFile('/home/xxx/...')

4 /dc/inc/core/class.dc.modules.php(521): dcModules->installModule('eventHandler', NULL)

5 /dc/admin/index.php(50): dcModules->installModules()

6 {main}

thrown in /dc/inc/libs/clearbricks/dbschema/class.dbstruct.php on line 487`