?
avatar mbabker
mbabker
30 Oct 2017

Steps to reproduce the issue

Using PHP 7.2, navigate to /administrator/index.php?option=com_installer&view=database

Expected result

Page renders without error

Actual result

Warning: count(): Parameter must be an array or an object that implements Countable in /libraries/src/Schema/ChangeItem.php on line 211

System information (as much as possible)

3.8.2-dev (commit 91dcb79), PHP 7.2 RC 5

avatar mbabker mbabker - open - 30 Oct 2017
avatar joomla-cms-bot joomla-cms-bot - change - 30 Oct 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Oct 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Oct 2017
Category Administration
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 30 Oct 2017

@mbabker #18438 is the PR for this Issue?


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Oct 2017
Status New Information Required
avatar wojsmol
wojsmol - comment - 30 Oct 2017

@franz-wohlkoenig #18438 is for the same issue but does not include this part of the code.

avatar alikon
alikon - comment - 30 Oct 2017

$rows = $this->db->loadObject();

loadObject() returns an object
we should use instaed loadRowList() wich returns an array
see #18443

avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Oct 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-10-30 09:30:30
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 30 Oct 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 30 Oct 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 30 Oct 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 30 Oct 2017

closed as having Pull Request #18443

Add a Comment

Login with GitHub to post a comment