Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0b4] Class 'Joomla\CMS\Installation\Helper\ArrayHelper' not found #30900

Closed
lancedouglas1 opened this issue Oct 3, 2020 · 6 comments
Closed

Comments

@lancedouglas1
Copy link

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).

@zero-24
Copy link
Contributor

zero-24 commented Oct 3, 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.

@lancedouglas1
Copy link
Author

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.

@lancedouglas1
Copy link
Author

lancedouglas1 commented Oct 3, 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.

@lancedouglas1
Copy link
Author

lancedouglas1 commented Oct 3, 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;

@zero-24
Copy link
Contributor

zero-24 commented Oct 3, 2020

Can you send a PR with that change?

lancedouglas1 pushed a commit to lancedouglas1/joomla-cms that referenced this issue Oct 3, 2020
[4.0b4] Class 'Joomla\CMS\Installation\Helper\ArrayHelper' not found
see issue joomla#30900
@zero-24
Copy link
Contributor

zero-24 commented Oct 3, 2020

Closing as there is a PR. thanks @lancedouglas1 👍

@zero-24 zero-24 closed this as completed Oct 3, 2020
zero-24 pushed a commit that referenced this issue Oct 5, 2020
[4.0b4] Class 'Joomla\CMS\Installation\Helper\ArrayHelper' not found
see issue #30900
sakiss pushed a commit to sakiss/joomla-cms that referenced this issue Oct 16, 2020
[4.0b4] Class 'Joomla\CMS\Installation\Helper\ArrayHelper' not found
see issue joomla#30900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants