cd drush

git branch -a |grep ^*
* master

git log | head -n 5
commit be0039059057d8d8d98d4406d2e1412467525584
Author: Jonathan Araña Cruz
Date: Sat Nov 3 11:48:23 2012 +0100

Issue #1825946: Make fails to identify mime type of json2.js (identified as .tar)

drush version
drush version 6.0-dev

drush sql-sync --no-cache @DEV @PROD
Illegal string offset 'site' backend.inc:958 [warning]

where

vi ./includes/backend.inc

...
956 if ($proc['output']) {
957 $values = drush_backend_parse_output($proc['output'], $proc['backend-options'], $proc['outputted']);
958 $values['site'] = $site;
959 if (is_array($values)) {
960 if (empty($ret)) {
961 $ret = $values;
962 }
...

Comments

drupsup’s picture

Version: » 7.x-5.x-dev
Status: Active » Closed (won't fix)
Nikita Petrov’s picture

Issue summary: View changes

I had this problem too. Solution: You simply have an old php version (e.g. 5.2). Just update it to at least 5.3.3 version.

l_langill’s picture

Hello Nikita, I am running PHP 5.5.X. Do you have any other suggestions as to what might be causing this error?

pingwin4eg’s picture

@l_langill pay attention to the message in parentheses. For example:

Illegal string offset 'site' backend.inc:1035
The command could not be executed successfully (returned: THE REAL CAUSE GOES HERE)