Recent Topics

[6.10.1] "Array to string conversion" in Post edit screen if only one locale is enabled

Started by on Jun 01, 2018 – Contents updated: Jun 19, 2018

Jun 01, 2018 00:21    

b2evolution 6.10.1-stable-2018-05-30

When only one locale is enabled (System > Regional > Locales), post edit screen (new post or edit post) displays "Notice: Array to string conversion in /....../inc/_core/ui/forms/_form.class.php on line 2734".

[6.10.1] "Array to string conversion" in Post edit screen if only one locale is enabled

Proposed fix:

b2evolution/inc/items/views/_item_expert.form.php
line 165

		$Form->select_input_options( 'post_locale', locale_options( $edited_Item->get( 'locale' ), false, true ), T_('Language'), '', array( 'style' => 'width:180px' ) );

should change to

		$Form->select_input_options( 'post_locale', locale_options( $edited_Item->get( 'locale' ), false, false ), T_('Language'), '', array( 'style' => 'width:180px' ) );

Jun 01, 2018 01:33

ok, we'll check that ASAP.


Form is loading...

powered by b2evolution free blog software – This forum is powered by b2evolution CMS, a complete engine for your website.