direct_mail icon indicating copy to clipboard operation
direct_mail copied to clipboard

TtnewsPlaintextHook requires class.tx_directmail_pi1.php which is no longer there

Open sgrossberndt opened this issue 7 years ago • 5 comments

https://github.com/kartolo/direct_mail/blob/2632e1dc36ba784bcea9402ee6b0f4eb6ecfae7e/Classes/Hooks/TtnewsPlaintextHook.php#L20

sgrossberndt avatar Feb 14 '18 09:02 sgrossberndt

I agree with that, I got fatal error on my upgraded project.

w010 avatar Aug 28 '18 23:08 w010

I get the fatal error now. The require_once path in Classes/Hooks/TtnewsPlaintextHook.php has set to Classes/Plugin/DirectMail.php. Or?

tt_news is not dead ;-)

stephangrass avatar Oct 16 '19 17:10 stephangrass

@stephangrass @sgrossberndt would you help to fix? I could guide you.

jokumer avatar Oct 17 '19 17:10 jokumer

Sorry, no time to fix this currently. The patch would also have to fix the several other occurrences of pi1/class.tx_directmail_pi1.php in the code (e.g. DirectMail->scriptRelPath. Also it should be tested whether the manual require is needed any longer at all and whether the instantiation in TtnewsPlaintextHook->extraCodesProcessor() works without issues in current TYPO3 versions any longer.

sgrossberndt avatar Oct 18 '19 08:10 sgrossberndt

Agree. Also documentation must be updated

jokumer avatar Oct 18 '19 09:10 jokumer