?
avatar lancedouglas1
lancedouglas1
3 Oct 2020

Steps to reproduce the issue

  1. Download Joomla_4.0.0-beta4-Beta-Full_Package.tar.gz
  2. tar -zxvf
  3. set permissions on dirs/files
  4. visit with browser to kickoff installation
  5. add installation details (site name, login, db)
  6. click "install joomla" button

Expected result

  • Installation begins

Actual result

  • Error Message:

Class 'Joomla\CMS\Installation\Helper\ArrayHelper' not found

System information (as much as possible)

OS: Ubuntu 20.04LTS - Pro
PHP: php7.4-fpm
RProxy: 1.18.0-0ubuntu1

Additional comments

I'm repeating the same steps the I followed this morning successfully (on ubuntu 18.04LTS).

avatar lancedouglas1 lancedouglas1 - open - 3 Oct 2020
avatar joomla-cms-bot joomla-cms-bot - change - 3 Oct 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Oct 2020
avatar zero-24
zero-24 - comment - 3 Oct 2020

Can you please post the full message with the file where the issue is? It seems there is a missing use statment in that file.

avatar lancedouglas1
lancedouglas1 - comment - 3 Oct 2020

Thanks @zero-24 for the quick reply.

Screen Shot 2020-10-03 at 1 59 41 AM

The error message only shows up on the installation screen, not in the logs, so I'm not sure of the specific file/line that is triggering the error.
avatar lancedouglas1
lancedouglas1 - comment - 3 Oct 2020

I just tried with the nightly build, that's why that image shows the beta5-dev in the header, by the way. Same issue.

avatar lancedouglas1
lancedouglas1 - comment - 3 Oct 2020

If found it based on your question @zero-24
Issue is that installation/src/Helper/DatabaseHelper.php is missing the use.

On line 20 I added:
use Joomla\Utilities\ArrayHelper;

avatar zero-24
zero-24 - comment - 3 Oct 2020

Can you send a PR with that change?

avatar zero-24 zero-24 - close - 3 Oct 2020
avatar zero-24
zero-24 - comment - 3 Oct 2020

Closing as there is a PR. thanks @lancedouglas1 ?

avatar zero-24 zero-24 - change - 3 Oct 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-10-03 08:34:59
Closed_By zero-24

Add a Comment

Login with GitHub to post a comment