? Success

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
28 Jan 2016

Solves #9002
( ! ) Fatal error: Can't use method return value in write context in ROOT/administrator/modules/mod_version/helper.php on line 36

To test enable the administrator mod_version module, admin loads with error, patch and reload page.

avatar infograf768 infograf768 - open - 28 Jan 2016
avatar infograf768 infograf768 - change - 28 Jan 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Jan 2016
Labels Added: ?
avatar infograf768 infograf768 - change - 28 Jan 2016
Category Administration Modules
avatar infograf768 infograf768 - change - 28 Jan 2016
Priority Medium Urgent
Easy No Yes
avatar andrepereiradasilva
andrepereiradasilva - comment - 28 Jan 2016

@infograf768 i can' reproduce the problem.

Admin mod version is enabled by default and i have no error.
Can you be more specific? Could it be a php specific version problem?
I tested in PHP 5.6.15. But is see in php http://php.net/manual/en/function.empty.php that empty can return fatal prior.

avatar ggppdk
ggppdk - comment - 28 Jan 2016

Prior to PHP 5.5, empty() only supports variables

avatar andrepereiradasilva
andrepereiradasilva - comment - 28 Jan 2016

ok thanks @ggppdk.

@infograf768, since i only have a PHP 5.6.x server i can't test it but looking at the code seems fine to me.

avatar infograf768
infograf768 - comment - 28 Jan 2016

I am using PHP 5.4.4 indeed.
Please add test OK on issues.

avatar andrepereiradasilva andrepereiradasilva - test_item - 28 Jan 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 28 Jan 2016

I have tested this item :white_check_mark: successfully on ea93434

Tested by code review.


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

avatar infograf768
infograf768 - comment - 28 Jan 2016

@ggppdk
Can you also test OK so that this gets merged?

avatar andrepereiradasilva
andrepereiradasilva - comment - 28 Jan 2016

So IMHO this should be replaced in beta 2 since it breaks admin panel in beta 2 for all php 5.4 and lower versions. @wilsonge what do you think?

avatar wilsonge wilsonge - change - 28 Jan 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-01-28 09:34:13
Closed_By wilsonge
avatar wilsonge wilsonge - close - 28 Jan 2016
avatar wilsonge wilsonge - reference | e4b9014 - 28 Jan 16
avatar wilsonge wilsonge - merge - 28 Jan 2016
avatar wilsonge wilsonge - close - 28 Jan 2016
avatar wilsonge
wilsonge - comment - 28 Jan 2016

I can't replace beta 2. maybe if we get that session issue solved I can release a beta 3 with this and the session fix in

avatar wilsonge wilsonge - change - 28 Jan 2016
Milestone Added:
avatar infograf768 infograf768 - head_ref_deleted - 28 Jan 2016
avatar andrepereiradasilva
andrepereiradasilva - comment - 28 Jan 2016

oh. ok

avatar brianteeman
brianteeman - comment - 28 Jan 2016

Can you add a note to the Known Issues on the announcement then ?

On 28 January 2016 at 09:35, andrepereiradasilva notifications@github.com
wrote:

oh. ok


Reply to this email directly or view it on GitHub
#9003 (comment).

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar andrepereiradasilva
andrepereiradasilva - comment - 28 Jan 2016

@brianteeman, are you talking to me? or to @wilsonge ?

avatar anibalsanchez anibalsanchez - test_item - 28 Jan 2016 - Tested successfully
avatar anibalsanchez
anibalsanchez - comment - 28 Jan 2016

I have tested this item :white_check_mark: successfully on ea93434

It works Ok


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

avatar brianteeman
brianteeman - comment - 28 Jan 2016

I was talking to @wilsonge

On 28 January 2016 at 09:58, Anibal Sanchez notifications@github.com
wrote:

I have tested this item [image: :white_check_mark:] successfully on
ea93434
ea93434

It works Ok

This comment was created with the J!Tracker Application
https://github.com/joomla/jissues at issues.joomla.org/joomla-cms/9003
https://issues.joomla.org/tracker/joomla-cms/9003.


Reply to this email directly or view it on GitHub
#9003 (comment).

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar wilsonge
wilsonge - comment - 28 Jan 2016

Done. I will attempt to do beta 3 tonight - but as I didn't leave my room last night between beta 2 and J4 meeting I have a mounting list of non-joomla things to do so no guarentees

Add a Comment

Login with GitHub to post a comment