Bug #18738
closed
rtehtmlarea: Argument 1 passed to t3lib_div::array_merge_recursive_overrule() must be an array, null given
Added by Ingmar Schlecht over 16 years ago.
Updated about 6 years ago.
Description
The following error happens to me when I'm saving a tx_cal_event record that has uses the RTE HTMLArea:
Catchable fatal error: Argument 1 passed to t3lib_div::array_merge_recursive_overrule() must be an array, null given, called in /var/www/vhosts/test/TYPO3_4-2/typo3/sysext/rtehtmlarea/class.tx_rtehtmlareaapi.php on line 75 and defined in /var/www/vhosts/test/TYPO3_4-2/t3lib/class.t3lib_div.php on line 1764
The attached patch fixes the problem.
(issue imported from #M8314)
Files
This error occurs in FE? Something is wrong, because LOCAL_LANG is set in class.tx_rtehtmlarea_pi2.php by
$this->LOCAL_LANG = t3lib_div::readLLfile('EXT:' . $this->ID . '/locallang.xml', $this->language);
and t3lib_div::readLLfile always returns an array.
Otherwise the error occurs in the BE and rte api entered into the wrong branch.
I installed the attached patch and it works fine.
The problem is, that I can't create hyperlinks by clicking on the link icon. Sometimes the correct pop-up window for creating hyperlinks was opened, but sometimes one half of the popup window for inserting an image was opened.
I think the patch doesn't work correctly because before installing this patch, hyperlinks could be created without any problems.
I have the same for tt_news when I have FE open in another tab in the same FF instance.
I reported this once in dev list but it was not reproducable. I thought it is unique problem for me.
Btw, happens only when new item is created!
I have the problem also with tt_news.
Please test with attached patch:
rtehtmlarea_bugfix_8314.patch
in your environment(s).
Fixed in SVN TYPO3core branch TYPO3_4-2 revision 3848 (for inclusion in TYPO3 4.2.2) and trunk revision 3849.
- Status changed from Resolved to Closed
Also available in: Atom
PDF