J4 Issue ?
avatar infograf768
infograf768
23 Oct 2018

Steps to reproduce the issue

Set language debug on.
Go to modules manager.

=> blank page
PHP Recoverable fatal error: Object of class Joomla\Component\Modules\Administrator\Service\HTML\Modules could not be converted to string in /Applications/MAMP/htdocs/installmulti/joomla40/plugins/system/debug/DataFormatter.php on line 57

@laoneo

avatar infograf768 infograf768 - open - 23 Oct 2018
avatar joomla-cms-bot joomla-cms-bot - change - 23 Oct 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Oct 2018
avatar brianteeman
brianteeman - comment - 23 Oct 2018

With debug on or off
Site modules are working ok for me but I do get an error with admin modules
500 Joomla\CMS\Form\Form::getInstance() could not load file

avatar infograf768
infograf768 - comment - 23 Oct 2018

Error here also for admin modules

[23-Oct-2018 08:27:36 Europe/Berlin] PHP Warning:  simplexml_load_file(): /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_modules/forms/filter_modulesadmin.xml:32: parser error : Attribute label redefined in /Applications/MAMP/htdocs/installmulti/joomla40/libraries/src/Form/Form.php on line 825
[23-Oct-2018 08:27:36 Europe/Berlin] PHP Warning:  simplexml_load_file(): 			> in /Applications/MAMP/htdocs/installmulti/joomla40/libraries/src/Form/Form.php on line 825
[23-Oct-2018 08:27:36 Europe/Berlin] PHP Warning:  simplexml_load_file(): 			^ in /Applications/MAMP/htdocs/installmulti/joomla40/libraries/src/Form/Form.php on line 825

avatar brianteeman brianteeman - change - 23 Oct 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 23 Oct 2018
avatar infograf768
infograf768 - comment - 23 Oct 2018

Ok, found the issue concerning admin modules
In fact we have 2 labels in the xml

		<field
			name="state"
			type="status"
			label="JOPTION_SELECT_PUBLISHED"
			label="JSTATUS"
			filter="*,-2,0,1"
			onchange="this.form.submit();"
			>
			<option value="">JOPTION_SELECT_PUBLISHED</option>
		</field>

will make patch for that one.

avatar infograf768
infograf768 - comment - 23 Oct 2018

Note: it does not solve the debug language issue for site modules

EDIT: forgot to state that this test is on a multingual site, if that does matter.

avatar laoneo
laoneo - comment - 23 Oct 2018

Please test #22775 which should bring back the module list.

avatar infograf768 infograf768 - change - 23 Oct 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-10-23 14:48:30
Closed_By infograf768
avatar infograf768
infograf768 - comment - 23 Oct 2018

Closing as #22775 solves the issue.
Thanks.

avatar infograf768 infograf768 - close - 23 Oct 2018

Add a Comment

Login with GitHub to post a comment