Recently updated to rc2 and noticed the following errors using drush to do an update:
Performed update: redirect_update_7102 [ok]
class_implements(): Class RedirectController does not exist and could not be loaded entity.module:724 [warning]
in_array() expects parameter 2 to be array, boolean given entity.module:724 [warning]
Anyone else run into this?
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | issue redirect.png | 41.4 KB | learnbydrop |
Comments
Comment #1
bozzie commentedHi I am very new to Drupal but thought i would respond. I literally just had the same issue however I found that it was because "redirect.controller.inc" wasn't committing properly. Once I added it independently through git the module worked as expected. Let me know if that helps.
Comment #2
pdesai commented@bozzie, where did you get the redirect.controller.inc file?
Comment #3
labboy0276 commented+1 I am seeing this as well
Comment #4
capogeannis commented+1 same.
Comment #5
bozzie commentedThe "redirect.controller.inc" file was a part of the "redirect-7.x-1.0-rc2.tar" file I downloaded from the update page of my site. FYI, I don't use Drush, I just download the tar file, extract it, copy the files into my local directory and then commit them through GIT. Sorry If I am not giving you enough information and I hope it helps if it's relevant.
Comment #6
jasom commentedThis is what I see in putty after performed drush up command:
Comment #7
Philippe Labat commentedSame thing here.
Comment #8
brad.bulger commentedit looks related to this comment in redirect_update_7100():
the error is because the new redirect.controller.inc file hasn't been included, apparently, and there are now newer update hooks than 7100. the errors only happen during the updatedb, during the cache clear at the end i think.
doing a registry rebuild with drush using Registry Rebuild before doing the updatedb prevents the error.
Comment #9
geerlingguy commentedThis is a duplicate of #2485459: Update hook 7100 does not do a registry rebuild or entity info cache clear; that issue will have the fix for this (and note that the error when running database updates won't cause any long-term issues or anything, it's just annoying :)
At the end of the update run, caches are rebuilt, and the
RedirectControllerclass is available.Comment #10
learnbydrop commentedI'm getting same issue, when 'Redirect' module enabled with Drush