hschottm / survey_ce

Contao extension to create questionnaires and run online surveys
Other
6 stars 20 forks source link

leider eine Fehlermeldung unter 3.2.8 #2

Closed zonky2 closed 10 years ago

zonky2 commented 10 years ago

beim Anlegen einer Umfage kommt:

[PHP]
Runtime notice: Declaration of Contao\SurveyResultModel::findMultipleByIds() should be compatible with Contao\Model::findMultipleByIds($arrIds, array $arrOptions = Array) in system/modules/survey_ce/models/SurveyResultModel.php on line 28

#0 system/modules/survey_ce/models/SurveyResultModel.php(28): __error(2048, 'Declaration of ...', '/var/www/web243...', 28, Array)
#1 system/modules/core/library/Contao/ClassLoader.php(163): include('/var/www/web243...')
#2 [internal function]: Contao\ClassLoader::load('SurveyResultMod...')
#3 system/modules/survey_ce/dca/tl_survey.php(3): spl_autoload_call('SurveyResultMod...')
#4 system/modules/core/library/Contao/Controller.php(2332): include('/var/www/web243...')
#5 system/modules/core/classes/Backend.php(229): Contao\Controller->loadDataContainer('tl_survey')
#6 contao/main.php(136): Contao\Backend->getBackendModule('survey')
#7 contao/main.php(287): Main->run()
#8 {main}
[/PHP]

wenn ich das Bugfixing irgendwie unterstützen kann, kurze Meldung an mich...

zonky2 commented 10 years ago

Lösung: https://community.contao.org/de/showthread.php?49275-Hilfe-bei-Contao-3-2-8-Fehlermeldung

public static function findMultipleByIds($arrIds, array $arrOptions=array() )  

in SurveyResultModel.php

hschottm commented 10 years ago

Fixed in bcd7521823d29e495d2efe26ee84de5a3be097ee