Same problem
Warning: Illegal string offset 'Б' in /app/public/wp-content/plugins/multi-column-tag-map/mctagmap_functions.php on line 352 Warning: Illegal string offset 'Г' in /app/public/wp-content/plugins/multi-column-tag-map/mctagmap_functions.php on line 352 Warning: Illegal string offset 'К' in /app/public/wp-content/plugins/multi-column-tag-map/mctagmap_functions.php on line 352 Warning: Illegal string offset 'П' in /app/public/wp-content/plugins/multi-column-tag-map/mctagmap_functions.php on line 352 Warning: Illegal string offset 'С' in /app/public/wp-content/plugins/multi-column-tag-map/mctagmap_functions.php on line 352 Warning: Illegal string offset 'Т' in /app/public/wp-content/plugins/multi-column-tag-map/mctagmap_functions.php on line 352 Warning: Illegal string offset 'Х' in /app/public/wp-content/plugins/multi-column-tag-map/mctagmap_functions.php on line 352 Warning: array_merge(): Argument #2 is not an array in /app/public/wp-content/plugins/multi-column-tag-map/mctagmap_functions.php on line 362
7.0.26 working perfect / 7.1.7 – this errors
Wonder can somebody fix it and fork this plugin?
I have no problems with the plugin:
- PHP Version 7.0.25
- System: Linux dd41536 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC 2018 x86_64
- Server API: Apache 2.0 Handler
- WordPress: 4.9.2 Network Installation/Multisite with Domainmapping
Thread Starter
Adrian
(@adrian2k7)
@csigncsign You are using PHP 7.0 and not PHP 7.1. The problem is with PHP 7.1+
The problem is in mctagmap_functions.php file on line 95:
$scarr = '';
, the variable is used as array later on, but is initialised with empty string, it’s a bad practice, but it worked up to PHP 7.0. To fix this issue, change the line to:
$scarr = [];
Thanks marale
this is hopefully fixed now.