? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
20 Dec 2019

Pull request for #27239

Fixes a b/c breaking change from php 7.4

Steps to reproduce the issue

Create a new article with full php errors displayed using php7.4

Actual result

Notice: Trying to access array offset on value of type null in C:\htdocs\joomla-cms\plugins\editors-xtd\readmore\readmore.php on line 52

After applying the PR the notice is gone and readmore plugin works normally

avatar brianteeman brianteeman - open - 20 Dec 2019
avatar brianteeman brianteeman - change - 20 Dec 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Dec 2019
Category Front End Plugins
avatar brianteeman brianteeman - change - 21 Dec 2019
Labels Added: ?
avatar jwaisner jwaisner - test_item - 4 Jan 2020 - Tested successfully
avatar jwaisner
jwaisner - comment - 4 Jan 2020

I have tested this item successfully on 007d5a4


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27327.

avatar jwaisner jwaisner - test_item - 13 Jan 2020 - Tested successfully
avatar jwaisner
jwaisner - comment - 13 Jan 2020

I have tested this item successfully on 22cd67c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27327.

avatar Fedik
Fedik - comment - 20 Jan 2020

A whole ondDisplay are wrong. The thing that there no event getContent:
$getContentResult = $this->getDispatcher()->dispatch('getContent', $event);

getContent is not an event, and never was, it was editor "method", compare to Joomla 3:

JFactory::getDocument()->addScriptOptions(
'xtd-readmore',
array(
'editor' => $this->_subject->getContent($name),
'exists' => JText::_('PLG_READMORE_ALREADY_EXISTS', true),
)
);

there we have $this->_subject that is Editor instance, if I right remember.

Need to review whole plugin.

avatar no-matter-0
no-matter-0 - comment - 23 Feb 2020

same error here

avatar joomla-cms-bot joomla-cms-bot - change - 19 Mar 2020
Closed_By Quy joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 19 Mar 2020
avatar Quy Quy - change - 19 Mar 2020
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2020-03-19 23:43:57
Closed_By Quy
avatar joomla-cms-bot
joomla-cms-bot - comment - 19 Mar 2020

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/27327

avatar Quy
Quy - comment - 19 Mar 2020

Closing per PR #28401


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27327.

Add a Comment

Login with GitHub to post a comment