CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #5988

Conflict with EXT:powermail

Added by Marcus Schwemer over 3 years ago. Updated over 2 years ago.

Status:New Start date:2010-01-13
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Votes: 0

Description

Hi,

I encountered a conflict with powermail extension. Every time I had both ext running I got the following error:

"Fatal error*: Call to a member function enableFields() on a non-object in [...]powermail/lib/user_powermailOnCurrentPage.php on line 35"

Changing this line from

 $where_clause = 'pid = ' . ($GLOBALS['TSFE']->id ? $GLOBALS['TSFE']->id : 0) . ' AND CType = "powermail_pi1"' . (!is_array($TCA['tt_content']) ? 'AND deleted = 0 AND hidden = 0' : $GLOBALS['TSFE']->sys_page->enableFields('tt_content')),

to

$where_clause = 'pid = ' . ($GLOBALS['TSFE']->id ? $GLOBALS['TSFE']->id : 0) . ' AND CType = "powermail_pi1"' . (!is_array($TCA['tt_content']) ? 'AND deleted = 0 AND hidden = 0' : tx_pttools_div::enableFields('tt_content')),

and adding

require_once t3lib_extMgm::extPath('pt_tools') . 'res/staticlib/class.tx_pttools_div.php'; // general helper library class

to this file is a workaround for me.

I will post a bugreport to powermail too, because I do not know what causes the problem.

BTW, all other pt_gsa exts works with powermail without errors.

Best regards,
Marcus


Related issues

related to powermail - Bug #5603: Call to an non member function enableFields Resolved 2009-12-02

Also available in: Atom PDF