View Issue Details

IDProjectCategoryView StatusLast Update
0004073OXID eShop (all versions)2.3. Extensions (modules, themes)public2013-12-16 15:20
Reporterxavier.villard 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.6.0 revision 44406 
Target Version4.7.10 / 5.0.10Fixed in Version4.7.10 / 5.0.10 
Summary0004073: Multilingual field in metadata.php
DescriptionWhen using an array in mùetadat for the title field like example below :

'title' => array(
    'en'=>'Paybox',
    'fr'=>'Paybox',
    ),

I get the following php error :

[22-May-2012 15:33:10] PHP Warning: basename() expects parameter 1 to be string, array given in C:\Program Files\Zend\Apache2\htdocs\CE\admin\module_main.php on line 54
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
MySQL Versionany

Activities

cata.vancea

2012-07-05 11:06

reporter   ~0007052

basename() expects parameter 1 to be string, array given in .../admin/module_main.php on line 54

when using

'title' => array(
        'de' => 'Title de',
        'en' => 'Title en',
     ),

in metadata.php

svetlana

2013-12-16 13:41

reporter   ~0009360

This bug exist and can be seen only in Admin.
Change matadata.php and go to admin in module to see the warning message.