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.0] Error Access to undeclared static property: Joomla\CMS\HTML\Helpers\Bootstrap::$scripts #32228

Closed
astridx opened this issue Feb 1, 2021 · 4 comments

Comments

@astridx
Copy link
Contributor

astridx commented Feb 1, 2021

Steps to reproduce the issue

Open System | Extension| Install (http://localhost:8090/pr/4.0-dev/administrator/index.php?option=com_installer&view=install)

Expected result

You can install an Extension

Actual result

You see error Access to undeclared static property: Joomla\CMS\HTML\Helpers\Bootstrap::$scripts

System information (as much as possible)

php: Linux 2205f8e21331 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64
dbserver: mysql
dbversion: 5.6.51
dbcollation: latin1_swedish_ci
dbconnectioncollation: utf8mb4_general_ci
dbconnectionencryption:
dbconnencryptsupported: false
phpversion: 7.4.13
server: Apache/2.4.29 (Ubuntu)
sapi_name: apache2handler
version: Joomla! 4.0.0-beta7-dev Development [ Mañana ] 7-January-2021 18:55 GMT
useragent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0

Additional comments

Same for index.php?option=com_config&view=component&component=com_content

@ReLater
Copy link
Contributor

ReLater commented Feb 1, 2021

confirmed

Error is thrown by JROOT/libraries/src/HTML/Helpers/Bootstrap.php:535

I think this has been fixed by https://github.com/joomla/joomla-cms/pull/32217/files
Why simple if it works with complicated B\C breaking code, too? ;-) Simply declare old behavior as bug ;-)

@richard67
Copy link
Member

@astridx Could you check if #32217 fixed this issue?

@ghazal
Copy link
Contributor

ghazal commented Feb 1, 2021

Issue fixed here.
Tks.

@richard67
Copy link
Member

Closing as having been fixed with PR #32217 . Feel free to re-open the issue if this is wrong.

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

5 participants