Bekomme folgenden Fehler beim absenden einer News bei mir
Code
System Information
PHP Version:
7.2.1-1+0~20180105151615.16+stretch~1.gbpd3910a
WoltLab Suite Core:
3.1.0 RC 2
Peak Memory Usage:
5.913/128 MiB
Request URI:
/news/index.php?news-add/
Referrer:
https://www.mondklingen.de/news/index.php?news-add/
User Agent:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
Error
Error Type:
wcf\system\exception\ErrorException
Error Message:
count(): Parameter must be an array or an object that implements Countable
File:
*/lib/system/WCF.class.php (324)
Stack Trace:
#0 */../../../../../../../[internal function] (?):
wcf\system\WCF::handleError(2, 'count(): Parameter must be an array or an object that implements Countable', '*/news/lib/data/news/NewsAction.class.php', 295, [ editor => , attachmentHandler => ])
#1 */news/lib/data/news/NewsAction.class.php (295):
count(news\data\news\image\NewsImage)
#2 */../../../../../../../[internal function] (?):
news\data\news\NewsAction->create()
#3 */lib/data/AbstractDatabaseObjectAction.class.php (204):
call_user_func([ 0 => , 1 => ])
#4 */news/lib/form/NewsAddForm.class.php (430):
wcf\data\AbstractDatabaseObjectAction->executeAction()
#5 */lib/form/AbstractForm.class.php (62):
news\form\NewsAddForm->save()
#6 */lib/form/AbstractForm.class.php (113):
wcf\form\AbstractForm->submit()
#7 */lib/form/AbstractCaptchaForm.class.php (67):
wcf\form\AbstractForm->readData()
#8 */news/lib/form/NewsAddForm.class.php (253):
wcf\form\AbstractCaptchaForm->readData()
#9 */lib/page/AbstractPage.class.php (291):
news\form\NewsAddForm->readData()
#10 */lib/page/AbstractPage.class.php (114):
wcf\page\AbstractPage->show()
#11 */lib/system/request/Request.class.php (83):
wcf\page\AbstractPage->__run()
#12 */lib/system/request/RequestHandler.class.php (96):
wcf\system\request\Request->execute()
#13 */news/index.php (10):
wcf\system\request\RequestHandler->handle('news')
Alles anzeigen