No Code Attached Yet Information Required
avatar joeforjoomla
joeforjoomla
17 Sep 2023

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

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar joeforjoomla joeforjoomla - open - 17 Sep 2023
avatar joomla-cms-bot joomla-cms-bot - change - 17 Sep 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Sep 2023
avatar Fedik
Fedik - comment - 17 Sep 2023

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

avatar Fedik Fedik - change - 17 Sep 2023
Labels Added: Information Required
avatar Fedik Fedik - labeled - 17 Sep 2023
avatar joeforjoomla
joeforjoomla - comment - 17 Sep 2023

Upgrading from 4.3 to 4.4 to 5.0

PHP 8.1

avatar HLeithner
HLeithner - comment - 18 Sep 2023

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

avatar joeforjoomla
joeforjoomla - comment - 18 Sep 2023

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

avatar HLeithner
HLeithner - comment - 18 Sep 2023

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

avatar joeforjoomla
joeforjoomla - comment - 18 Sep 2023

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

avatar joeforjoomla
joeforjoomla - comment - 18 Sep 2023

image

avatar Fedik
Fedik - comment - 18 Sep 2023

It require registration to download

avatar Fedik
Fedik - comment - 18 Sep 2023

I can guess there something like this #41786
Please test

avatar Fedik Fedik - change - 18 Sep 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-09-18 14:00:13
Closed_By Fedik
avatar Fedik Fedik - close - 18 Sep 2023
avatar Fedik
Fedik - comment - 18 Sep 2023

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

avatar crimle
crimle - comment - 21 Sep 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.

avatar Fedik
Fedik - comment - 21 Sep 2023

This is fixed in upcoming beta release

avatar crimle
crimle - comment - 21 Sep 2023

Confirmed. The error has gone.

Add a Comment

Login with GitHub to post a comment