Bug #22168
closed0009945: Non-static method RemoveXSS::RemoveXSS() cannot be called statically
0%
Description
MailformPlus will produce the fatal error (but it's not MailformPlus, it's in the TYPO3 Core):
PHP Fatal error: Non-static method RemoveXSS::RemoveXSS() cannot be called statically, assuming $this from incompatible context in TYPO3_SRC/t3lib/class.t3lib_div.php on line 383
The solution provided for bug 9945 no longer works in PHP 5.2.10
Here's a solution that works for 5.2.10 :
Change file typo3conf/ext/th_mailformplus/pi1/class.tx_thmailformplus_pi1.php line 3817 :
$sanitizedArray[$key] = RemoveXSS::RemoveXSS($value);
with :
$remove_filter = new RemoveXSS($value);
$sanitizedArray[$key] = $remove_filter->RemoveXSS($value);
(sorry for filing a new bug, I couldn't manage to re-open bug 9945)
(issue imported from #M13633)
Updated by Chris topher over 14 years ago
Updated by Chris topher over 14 years ago
I close this issue now.
Why do people open bugs, if they then don't respond to notes?