Teste gerade auch, ob - siehe Beitrag'#2 auch wieder funktioniert.... Melde mich.
NUR Easy.Media Vorschaubilder - Funktioniert; Durchlauf ohne Fehler Meldung.
Alle Anzeigen Aktualisieren mit Easy.Media: Durchlauf ohne Fehler Meldung.
Danke
Teste gerade auch, ob - siehe Beitrag'#2 auch wieder funktioniert.... Melde mich.
NUR Easy.Media Vorschaubilder - Funktioniert; Durchlauf ohne Fehler Meldung.
Alle Anzeigen Aktualisieren mit Easy.Media: Durchlauf ohne Fehler Meldung.
Danke
Es Endet mit Fatal Error und kein Zugriff mehr auf ACP oder Anmeldung! Nachdem ich das Eingesetzt habe #5
Error Type:
ParseError
Error Message:
Unclosed '{' on line 15
File:
*/easymedia/lib/system/user/notification/event/AlbumCommentUserNotificationEvent.class.php (133)
Template Context:
</li>
<!-- user notifications -->
<?php if ( ! isset($this->v['__hideUserMenu'])) { ?>
====> <li id="userNotifications" data-count="<?=wcf\util\StringUtil::formatNumeric($this->v['__wcf']->getUserNotificationHandler()->getNotificationCount());?>">
<a
class="jsTooltip"
href="<?php $this->tagStack[] = ['link', ['controller' => 'NotificationList']];
$this->pluginObjects['wcf\system\template\plugin\LinkBlockTemplatePlugin']->init($this->tagStack[count($this->tagStack) - 1][1], $this);
while ($this->pluginObjects['wcf\system\template\plugin\LinkBlockTemplatePlugin']->next($this)) { ob_start(); ?><?php echo $this->pluginObjects['wcf\system\template\plugin\LinkBlockTemplatePlugin']->execute($this->tagStack[count($this->tagStack) - 1][1], ob_get_clean(), $this); }
array_pop($this->tagStack);?>"
Vielleicht hilft es dir was.
Habe es gefunden, es fehlte das letzte Zeichen zum Schließen, damit funktioniert es nun und das mitglied hat wieder zugriff ohne Fehler Meldung.
/**
* @see \wcf\system\user\notification\event\IUserNotificationEvent::checkAccess()
*/
public function checkAccess() {
$album = AlbumDataHandler::getInstance()->getAlbum($this->userNotificationObject->objectID);
if(!$album) {
return false;
}
return $album->canView();
}
}
Alles anzeigen
Ich beobachte es mal, Danke Olaf
Guten Morgen, das liest sich nicht gut - passiert, weil man ein Album gelöscht hat (zum Glück wurden aber die Bilder verschoben).
Einzig das Mitglied kann seinen Zugang nicht mehr nutzen, denn ich bekomme dann gefühlt alle 4 sec diese Fehler Meldung!
Wenn ich jetzt auf WL gehe um zu fragen, ob jemand einen Hinweis hat um das zu beheben. Verweisen die mich aber immer wieder zu Dir - was soll ich dort schreiben, ohne dass ich Dich ..... dastehen lasse!
An Cr@@gle kommen wir nicht mehr, um ihn zu fragen.
Hinweis: ich habe noch zwei andere Foren mit easy.media laufen, auf v. 5.5.5 ohne Auffälligkeiten
Hallo, ich habe nach dem Verschieben von Bildern in ein anderes Album folgende Fehler Meldung vorliegen.
Tue, 18 Oct 2022 12:55:49 +0000
Message: Call to a member function canView() on null
PHP version: 8.0.20
WoltLab Suite version: 5.5.5
Request URI: POST /index.php?notification/&t=5bafe761f226ab5da65df0dc618e64a949ec4d89dc61c9bc22c854ef90ba868a-YXOIp+tInLY6VFNmCf2HAg==
Referrer: https://ddr-grenztruppen.de/
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
Peak Memory Usage: 10358128/268435456
======
Error Class: Error
Error Message: Call to a member function canView() on null
Error Code: 0
File: /www/htdocs/xxxxx/easymedia/lib/system/user/notification/event/AlbumCommentUserNotificationEvent.class.php (127)
Extra Information: -
Stack Trace: [{"file":"\/www\/htdocs\xxxxx/\/lib\/system\/user\/notification\/UserNotificationHandler.class.php","line":581,"function":"checkAccess","class":"easymedia\\system\\user\\notification\\event\\AlbumCommentUserNotificationEvent","type":"->","args":[]},{"file":"\/www\xxxxx\/lib\/system\/user\/notification\/UserNotificationHandler.class.php","line":388,"function":"processNotifications","class":"wcf\\system\\user\\notification\\UserNotificationHandler","type":"->","args":[{"13612":"[redacted]","13611":"[redacted]","13610":"[redacted]","13606":"[redacted]"}]},{"file":"\/www\/htdocs\/xxxxx//lib\/action\/NotificationAction.class.php","line":50,"function":"getNotifications","class":"wcf\\system\\user\\notification\\UserNotificationHandler","type":"->","args":[50]},{"file":"\/www\/htdocs\/xxxxx//lib\/action\/NotificationAction.class.php","line":33,"function":"getOutstandingNotifications","class":"wcf\\action\\NotificationAction","type":"->","args":[]},{"file":"\/www\/htdocs\/xxxxx//lib\/action\/AbstractAction.class.php","line":57,"function":"execute","class":"wcf\\action\\NotificationAction","type":"->","args":[]},{"file":"\/www\/htdocs\/xxxxx/\/lib\/system\/request\/Request.class.php","line":90,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/www\/htdocs\/xxxxx/\/lib\/system\/request\/RequestHandler.class.php","line":107,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/www\/htdocs\/xxxxx/index.php","line":11,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf"]}]
WSC 5.5.5 mit PHP 8.0.20
Momentan ist das nur bei dem einen Mitglied zu sehen, der das Album erstellt hat. Als Admin kann ich ohne Fehler Meldung die Seite Aufrufen und auch sein Album öffnen usw.
Danke und Grüße
Edit: Das Mitglied schrieb mir, das er vor der Fehler Meldung das Album gelöscht hat - ... Mögliche Ursache für die Fehler Meldung!