Hi, i am getting these
Illegal string offset 'ltr' in /home/randomwi/public_html/en/extensions/Echo/includes/ResourceLoaderEchoImageModule.php on line 45
Errors in my error_log file.
Hi, i am getting these
Illegal string offset 'ltr' in /home/randomwi/public_html/en/extensions/Echo/includes/ResourceLoaderEchoImageModule.php on line 45
Errors in my error_log file.
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/extensions/Echo | master | +1 -1 | Fix Illegal string offset 'ltr' in ResourceLoaderEchoImageModule.php |
$paths = ''; if ( isset( $definition[ 'path' ] ) ) { if ( is_array( $definition[ 'path' ] ) ) { foreach ( $definition[ 'path' ] as $dir => $p ) { // Has both rtl and ltr definitions $paths[ $dir ] = $p; } } else { $paths = $definition[ 'path' ];
Looks like the first branch needs to first define $paths as an array before assigning a key to it.
Change 345070 had a related patch set (by Paladox) published:
[mediawiki/extensions/Echo@master] Fix Illegal string offset 'ltr' in ResourceLoaderEchoImageModule.php
Change 345070 merged by jenkins-bot:
[mediawiki/extensions/Echo@master] Fix Illegal string offset 'ltr' in ResourceLoaderEchoImageModule.php