[TYPO3-german] linkvalidator: Fatal error: Call to a member function getUrl()

Philipp Gampe philipp.gampe at typo3.org
Tue Oct 14 19:22:08 CEST 2014


Hi berfh at gmx.de,

berfh at gmx.de wrote:

> ich bekomme von der System Extension linkvalidator beim überprüfen
> externer Links folgende Fehlermeldung angezeigt: Fatal error: Call to a
> member function getUrl() on a non-object in
> 
/html/typo3/typo3_src-6.2.5/typo3/sysext/linkvalidator/Classes/Linktype/ExternalLinktype.php
> on line 91 Interne und Dateilinks warden ohne Fehler überpürft. Hat jemand
> eine Idee woran dies liegen kann bzw. wie es zu beheben ist

Ja, mach mal bitte einen Bugreport hier auf und füge mich als Watcher hinzu:
https://forge.typo3.org/projects/typo3cms-core/issues

Für den Moment kannst du in Zeile 88 statt:
if ($e->getCode() === 40) { 
folgendes Benutzen:
if (FALSE && $e->getCode() === 40) {

Damit wird die if Bedingung lahmgelegt.

Grüße
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – Active contributor TYPO3 CMS
TYPO3 .... inspiring people to share!



More information about the TYPO3-german mailing list