rtehtmlarea: Argument 1 passed to t3lib_div::array_merge_recursive_overrule() must be an array, null given
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)
Updated by Stanislas Rolland about 13 years ago
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.
Updated by Administrator Admin about 13 years ago
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.