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

[5.0]Issue with ButtonsRegistry.php #41779

Closed
joeforjoomla opened this issue Sep 17, 2023 · 14 comments
Closed

[5.0]Issue with ButtonsRegistry.php #41779

joeforjoomla opened this issue Sep 17, 2023 · 14 comments

Comments

@joeforjoomla
Copy link
Contributor

Steps to reproduce the issue

Open an article edit

Expected result

Joomla\CMS\Editor\Button\Button::__construct(): Argument #3 ($options) must be of type array, string given, called in /var/www/vhosts/test.storejextensions.org/httpdocs/5x/libraries/src/Editor/Button/ButtonsRegistry.php on line 142

Actual result

image

System information (as much as possible)

Additional comments

@Fedik
Copy link
Member

Fedik commented Sep 17, 2023

I cannot reproduce.
Need more details how you get it.

@joeforjoomla
Copy link
Contributor Author

Upgrading from 4.3 to 4.4 to 5.0

PHP 8.1

@HLeithner
Copy link
Member

@joeforjoomla I think we need some more information, like did you have installed any 3rd party buttons? if yes which one?

@joeforjoomla
Copy link
Contributor Author

@HLeithner it seems the issue was caused by the button of Convert Forms.

@HLeithner
Copy link
Member

can we get this button somehow to replicate and fix this?

@joeforjoomla
Copy link
Contributor Author

Try to install Convert Forms on J4.3, then upgrade to 4.4 and to 5.0

@joeforjoomla
Copy link
Contributor Author

image

@Fedik
Copy link
Member

Fedik commented Sep 18, 2023

It require registration to download

@Fedik
Copy link
Member

Fedik commented Sep 18, 2023

I can guess there something like this #41786
Please test

@Fedik
Copy link
Member

Fedik commented Sep 18, 2023

So I closing this one, since the PR is merged.
Thanks!

@Fedik Fedik closed this as completed Sep 18, 2023
@crimle
Copy link

crimle commented Sep 21, 2023

I am encountering this error message as well, but I do not have Convert Forms installed.

Click Content > Articles > New

Error message is:

Joomla\CMS\Editor\Button\Button::__construct(): Argument #3 ($options) must be of type array, string given, called in /home/sites/2a/5/5004ecfce3/jtest/libraries/src/Editor/Button/ButtonsRegistry.php on line 142


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

@Fedik
Copy link
Member

Fedik commented Sep 21, 2023

This is fixed in upcoming beta release

@HLeithner
Copy link
Member

@crimle
Copy link

crimle commented Sep 21, 2023

Confirmed. The error has gone.

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