In der 2.0.0 pl 2 tritt ein Fehler auf wenn man eine News die deaktiv ist auf aktiv stellen möchte.
Code
Mon, 04 May 2015 16:04:49 +0000
Message: PHP error in file /var/customers/webs/*****/moonchild-radio.de/wcf/lib/system/user/activity/point/UserActivityPointHandler.class.php (53): Argument 4 passed to wcf\system\user\activity\point\UserActivityPointHandler::fireEvent() must be of the type array, string given, called in /var/customers/webs/*****/moonchild-radio.de/news/lib/data/news/NewsAction.class.php on line 255 and defined
File: /var/customers/webs/*****/moonchild-radio.de/wcf/lib/system/WCF.class.php (304)
PHP version: 5.4.39-0+deb7u2
WCF version: 2.1.3 (Typhoon)
Request URI: /index.php?ajax-proxy/&
Referrer: http://news.moonchild-radio.de/news/1-test/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36
Information: ""
Stacktrace:
#0 /var/customers/webs/*****/moonchild-radio.de/wcf/lib/system/user/activity/point/UserActivityPointHandler.class.php(53): wcf\system\WCF::handleError(4096, 'Argument 4 pass...', '/var/customers/...', 53, Array)
#1 /var/customers/webs/*****/moonchild-radio.de/news/lib/data/news/NewsAction.class.php(255): wcf\system\user\activity\point\UserActivityPointHandler->fireEvent('de.wbb-elite.ne...', '1', NULL, '1')
#2 [internal function]: news\data\news\NewsAction->enable()
#3 /var/customers/webs/*****/moonchild-radio.de/wcf/lib/data/AbstractDatabaseObjectAction.class.php(196): call_user_func(Array)
#4 /var/customers/webs/*****/moonchild-radio.de/wcf/lib/action/AJAXProxyAction.class.php(77): wcf\data\AbstractDatabaseObjectAction->executeAction()
#5 /var/customers/webs/*****/moonchild-radio.de/wcf/lib/action/AJAXInvokeAction.class.php(96): wcf\action\AJAXProxyAction->invoke()
#6 /var/customers/webs/*****/moonchild-radio.de/wcf/lib/action/AbstractAction.class.php(49): wcf\action\AJAXInvokeAction->execute()
#7 /var/customers/webs/*****/moonchild-radio.de/wcf/lib/action/AJAXInvokeAction.class.php(63): wcf\action\AbstractAction->__run()
#8 /var/customers/webs/*****/moonchild-radio.de/wcf/lib/system/request/Request.class.php(58): wcf\action\AJAXInvokeAction->__run()
#9 /var/customers/webs/*****/moonchild-radio.de/wcf/lib/system/request/RequestHandler.class.php(139): wcf\system\request\Request->execute()
#10 /var/customers/webs/*****/moonchild-radio.de/news/index.php(3): wcf\system\request\RequestHandler->handle('news')
#11 {main}
Alles anzeigen
Dieser Fehler trat aber in der 2.0.0 Version nicht auf, dort funktionierte dies Funktion.