After a fresh install, I was running drush up to get rid of the rules related notices:

Warning: Illegal string offset 'field' in RulesEntityController->buildQuery() (line 202 of /home/arborrow/NetBeansProjects/demo/profiles/openchurch/modules/contrib/rules/includes/rules.core.inc).
Warning: Illegal string offset 'field' in RulesEntityController->buildQuery() (line 207 of /home/arborrow/NetBeansProjects/demo/profiles/openchurch/modules/contrib/rules/includes/rules.core.inc).

Unknown path for openchurch_theme_starter module. [warning]
Unknown path for openchurch_mm module.

Is this something that could be easily fixed? I'm not yet familiar with the intricacies of profiles but I suspect its not too difficult to let drush know where those themes are. Peace - Anthony

Comments

I'm also experiencing this issue. Any suggestions?

I'm not able to upgrade from openchurch 7.x-1.11-beta1 to beta5 using drush. I think the problem is related to this issue of not finding the proper path when modules are stored in the profile path. The results of the drush pm-update in verbose mode are shown below.

# drush @openchurch -v pm-update openchurch
Loaded alias @openchurch from file                                      [notice]
/etc/drush/openchurch.alias.drushrc.php
Initialized Drupal 7.16 root directory at /var/www/openchurch/          [notice]
Initialized Drupal site openchurch at sites/default                     [notice]
Loading release_info engine.                                            [notice]
Loading version_control engine.                                         [notice]
Loading package_handler engine.                                         [notice]
Executing: wget --version
Unknown path for openchurch_theme_starter module.                    [warning]
Unknown path for openchurch_mm module.                               [warning]
/usr/share/php/drush/drush  --backend=2 --verbose                       [notice]
--root=/var/www/openchurch/ --uri=http://openchurch  batch-process 29
29 2>&1
Initialized Drupal 7.16 root directory at /var/www/openchurch/          [notice]
Initialized Drupal site openchurch at sites/default                     [notice]
Checking available update data ...                                   [ok]
Command dispatch complete                                               [notice]
Update information last refreshed: Tue, 11/20/2012 - 2:01pm
Update status information on all installed and enabled Drupal projects:
Name      Install  Propose  Status
           ed       d
           version  version
Address   7.x-1.0  7.x-1.0  Up to date
Field     -beta3   -beta3
(address
field)
Administ  7.x-3.0  7.x-3.0  Up to date
ration    -rc3     -rc3
menu
(admin_m
enu)
Apps      7.x-1.0  7.x-1.0  Up to date
(apps)    -beta7   -beta7
Backup    7.x-2.4  7.x-2.4  Up to date
and
Migrate
(backup_
migrate)
Drupal    7.16     7.17     Update available
Chaos     7.x-1.2  7.x-1.2  Up to date
tools
(ctools)
Calendar  7.x-3.4  7.x-3.4  Up to date
(calenda
r)
CAPTCHA   7.x-1.0  7.x-1.0  Up to date
(captcha  -beta2   -beta2
)
CCK       7.x-2.x  7.x-2.x  Update available
(cck)     -dev     -dev
Content   7.x-1.0  7.x-1.0  Up to date
Taxonomy  -beta1   -beta1
(content
_taxonom
y)
Context   7.x-3.0  7.x-3.0  Up to date
(context  -beta4   -beta4
)
Context   7.x-1.0  7.x-1.0  Up to date
Breadcru  -beta2   -beta2
mb
Current
Page
(context
_breadcr
umb_curr
ent_page
)
Date      7.x-2.6  7.x-2.6  Up to date
(date)
Default   7.x-1.0  7.x-1.0  Up to date
Content   -alpha6  -alpha6
(default
content)
Email     7.x-1.2  7.x-1.2  Up to date
(email)
Entity    7.x-1.0  7.x-1.0  Up to date
API       -rc3     -rc3
(entity)
features  7.x-1.0  7.x-1.0  Up to date
_extra    -alpha1  -alpha1
           +18-dev
Features  7.x-1.0  7.x-1.0  Up to date
(feature
s)
Media     7.x-1.2  7.x-1.2  Up to date
(media)
Styles    7.x-2.0  7.x-2.0  Up to date
(styles)  -alpha8  -alpha8
File      7.x-1.6  7.x-1.7  Update available
Field
Sources
(filefie
ld_sourc
es)
@font-yo  7.x-2.5  7.x-2.6  Update available
ur-face
(fontyou
rface)
Fusion    7.x-2.0  7.x-2.0  Up to date
grid      -beta1   -beta1
tools
(fusion_
accelera
tor)
getID3()  7.x-1.0  7.x-1.0  Up to date
(getid3)
IMCE      7.x-1.5  7.x-1.6  Update available
(imce)
IMCE      7.x-1.0  7.x-1.0  Up to date
Wysiwyg
API
bridge
(imce_wy
siwyg)
Librarie  7.x-1.0  7.x-1.0  Up to date
s
(librari
es)
Lightbox  7.x-1.0  7.x-1.0  Up to date
2         -beta1   -beta1
(lightbo
x2)
Link      7.x-1.0  7.x-1.0  Up to date
(link)
Media:    7.x-1.0  7.x-1.0  Up to date
Vimeo     -beta5   -beta5
(media_v
imeo)
Media:    7.x-1.0  7.x-1.0  Up to date
YouTube   -beta3   -beta3
(media_y
outube)
Menu      7.x-1.3  7.x-1.3  Up to date
breadcru
mb
(menu_br
eadcrumb
)
Meta      7.x-1.0  7.x-1.0  Update available
tags      -beta1   -beta4
(metatag
)
Referenc  7.x-2.0  7.x-2.0  Up to date
es        +8-dev
(referen
ces)
Nodequeu  7.x-2.0  7.x-2.0  Up to date
e         -beta1   -beta1
(nodeque
ue)
OpenChur  7.x-1.1  7.x-1.1  Update available
ch        1-beta1  1-beta5
(openchu
rch)
Page      7.x-2.7  7.x-2.7  Up to date
Title
(page_ti
tle)
Panels    7.x-3.3  7.x-3.3  Up to date
(panels)
Pathauto  7.x-1.2  7.x-1.2  Up to date
(pathaut
o)
Patholog  7.x-2.4  7.x-2.6  Update available
ic
(patholo
gic)
Plupload  7.x-1.0  7.x-1.0  Up to date
widget    -alpha1  -alpha1
(plup)
Plupload  7.x-1.0  7.x-1.0  Up to date
integrat
ion
module
(pluploa
d)
reCAPTCH  7.x-1.8  7.x-1.8  Up to date
A
(recaptc
ha)
RedHen    7.x-1.0  7.x-1.0  Up to date
(redhen)  -beta3   -beta3
Referenc  7.x-1.0  7.x-1.0  Up to date
es        -alpha4  -alpha4
dialog
(referen
ces_dial
og)
rss_fiel  7.x-1.2  7.x-1.2  Up to date
d_format
ters
Rules     7.x-2.2  7.x-2.2  Up to date
(rules)
ShareThi  7.x-2.5  7.x-2.5  Up to date
s
(shareth
is)
Simplene  7.x-1.0  7.x-1.0  Up to date
ws
(simplen
ews)
Strongar  7.x-2.0  7.x-2.0  Up to date
m
(stronga
rm)
Superfis  7.x-1.8  7.x-1.8  Up to date
h
(superfi
sh)
Token     7.x-1.4  7.x-1.4  Up to date
(token)
Views     7.x-3.5  7.x-3.5  Up to date
(views)
Views     7.x-3.0  7.x-3.0  Up to date
Bulk
Operatio
ns
(views_b
ulk_oper
ations)
Views     7.x-1.x  7.x-1.x  Up to date
PHP       -dev     -dev
(views_p
hp)
Views     7.x-3.0  7.x-3.0  Up to date
Slidesho
w
(views_s
lideshow
)
Webform   7.x-3.1  7.x-3.1  Up to date
(webform  8        8
)
Wysiwyg   7.x-2.2  7.x-2.2  Up to date
(wysiwyg
)
fusion    7.x-2.0  7.x-2.0  Up to date
           -beta2   -beta2
OpenChur  7.x-1.0  7.x-1.0  Up to date
ch        -beta5   -beta5
(openchu
rch_them
e)                                                                            
Code updates will be made to the following projects: OpenChurch [openchurch-7.x-1.11-beta5]
Note: A backup of your project will be stored to backups directory if it is not managed by a supported version control system.
Note: If you have made any modifications to any file that belongs to one of these projects, you will have to migrate those modifications after updating.
Do you really want to continue with the update process? (y/n): y
Starting to update OpenChurch code at profiles/openchurch...            [notice]
The openchurch directory could not be found within the modules       [error]
directory at /var/www/openchurch//profiles/openchurch, perhaps the
project is enabled but has been deleted from disk.
Command dispatch complete                                               [notice]
Command dispatch complete                                               [notice]

Status:Active» Needs review

You can't use drush up for openchurch bc this is a distribution. Technically you can for some contrib modules but you don't want to modify the profile AT ALL.

Instead if you want a newer version of a module you can do drush dl [modulename]. This will add it to your sites/all/modules folder and you can run drush up on any of those without modifying the actual OC profile.

Also the original error in this thread looks like a php 5.4 error. Drupal 7 still works best with 5.3, many contrib modules have problems with 5.4 so I don't think I can make OC officially support 5.4 until it becomes the recommended PHP version for Drupal.

Status:Needs review» Closed (works as designed)

What if I am trying to update core via drush and not a just module? can I just ignore the profile folder during drush update?