? Pending

User tests: Successful: Unsuccessful:

avatar saharin88
saharin88
27 May 2020

Fix Warning massage (implode(): Invalid arguments passed in /libraries/src/Router/SiteRouter.php on line 529) if component router build method return null or any other type of non-array.

avatar saharin88 saharin88 - open - 27 May 2020
avatar saharin88 saharin88 - change - 27 May 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 May 2020
Category Libraries
avatar saharin88 saharin88 - change - 27 May 2020
Labels Added: ?
avatar saharin88 saharin88 - change - 27 May 2020
The description was changed
avatar saharin88 saharin88 - edited - 27 May 2020
avatar infograf768
infograf768 - comment - 27 May 2020

Please give test instructions.

avatar saharin88
saharin88 - comment - 27 May 2020

Please give test instructions.

This applies more to custom components.
Since there is no strict typing, we don’t know what the build method can return.

avatar SharkyKZ
SharkyKZ - comment - 27 May 2020

It's documented to return an array.

avatar saharin88
saharin88 - comment - 27 May 2020

It's documented to return an array.

Yes, I know, but here I faced such problem that at a router of a custom component, the build method returns null.

I do not insist on change, it is "protection from a fool"

avatar saharin88 saharin88 - change - 27 May 2020
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2020-05-27 19:44:08
Closed_By saharin88
avatar saharin88 saharin88 - close - 27 May 2020

Add a Comment

Login with GitHub to post a comment