I'm having a problem executing the "Change the author of content" operation on several nodes. I put a checkbox in the nodes I'd like to update, choose the "Change the author of content" option and press "Execute." The next page appears and asks me which user I would like to change the author to. After I choose a new author and press next, I see nothing more than a blank white page. This blank white page follows me from page to page afterwards. Its like a blank overlay is stuck over every page. This problem persists until I clear cookies and refresh the homepage.
After clearing cookies and logging back in, I revisit the view. I see that the update author operation has failed to complete. All the authors remain as they were originally.
Comment | File | Size | Author |
---|---|---|---|
#34 | Screen Shot 2015-08-07 at 4.15.09 PM.png | 118.41 KB | RavindraSingh |
#17 | 1093818-vbo-plugin-object-fatal-error.patch | 1.56 KB | Damien Tournoud |
#15 | 1093818-vbo-plugin-object-fatal-error.patch | 1012 bytes | Damien Tournoud |
Comments
Comment #1
rylowry@gmail.com CreditAttribution: rylowry@gmail.com commentedMy version of views was fresh out of git. I reverted to version 7.x-3.0-alpha1 of views and this problem disappeared.
Comment #2
bradhawkins CreditAttribution: bradhawkins commentedSame problem for me, but only in Firefox, the site would still work fine in Safari and Chrome.
Ran the debug on index.php and found that my problem was related to a line of code in Views>includes>plugins.inc, if I commented out the following line, everything worked.
views_include('base');
But obviously, I'd rather not go around commenting out lines in Views. So I'm rolling back my database and I'll hold off installing for now.
EDIT - clearing cookies, cache, etc. did nothing for me in firefox. commenting out the code or rolling back my database were the only solutions.
Comment #3
borazslo CreditAttribution: borazslo commentedAlmost the same
- The confirmation page still works, but from this moment (without clicking to "confirm") every pages (in the session) is almost blank:
Fatal error: Call to undefined function views_include() in [...]/sites/all/modules/views/includes/plugins.inc on line 9
- Everything is ok in every other session. if I clear the session table, everything is ok. (There is no need to clear caches.)
- If I comment out the "views_include('base');" line from views/includes/plugins.inc, (as @bradhawkins mentioned) I can execute what I want.
I use VBO 7.x-3.x-dev (Feb-25) , Views 7.x-3.x-dev (Mar-24).
Comment #4
kehan CreditAttribution: kehan commentedI'm getting this using VBO 7.x-3.x-dev and views 7.x-3.0-beta2 which was just released. Commenting out the views_include('base'); works for me too.
Comment #5
Scott Falconer CreditAttribution: Scott Falconer commentedSubscribe
Comment #6
lsolesen CreditAttribution: lsolesen commented+1
Comment #7
strellman CreditAttribution: strellman commentedShouldn't this be in the Views issue list? Moving it.
Not sure about a blank screen, but I get:
Fatal error: Call to undefined function views_include() in .../sites/all/modules/views/includes/plugins.inc on line 9
Confirming this bug happens also in Chrome.
I got it when trying to delete users in VBO using people/list
Ugh. Now that error haunts me everywhere, even /admin_menu/flush-cache?destination=admin/structure/view
or the frontpage, or /admin
Another browser is OK, but this browser need to get closed.
Comment #8
dawehnerThe "views_include" function is part of views.module.
As http://drupal.org/node/1108578#comment-4273550 wrote vbo is in a broken state.
I'm pretty sure this is a problem of vbo.
Comment #9
Scott Falconer CreditAttribution: Scott Falconer commentedIt was a change in Views that brought the issue up, but the error is specific to VBO, not Views.
was added recently to plugins.inc in Views. What seems to be happening is that plugins.inc is being loaded by VBO before the rest of the Views module, which is causing the "Call to undefined function: views_include" error.
Comment #10
dawehnerOkay this is really confusing.
Here is a backtrace
So what this means:
vbo stores objects in batchapi
batchapi stores this in $_SESSION
$_SESSION is initialized much earlier than everything else, booom.
This seems to be a vbo issue at the end.
Comment #11
betoscopiosubscribe
Comment #12
xandeadx CreditAttribution: xandeadx commentedsubscr
Fatal error: Call to undefined function views_include() in www\sites\all\modules\views\includes\plugins.inc on line 9
Comment #13
Agileware CreditAttribution: Agileware commentedSubscribing and giving a more descriptive title.
Comment #14
Agileware CreditAttribution: Agileware commentedAnd this is at least major because it is half the functionality of the module broken.
Comment #15
Damien Tournoud CreditAttribution: Damien Tournoud commentedHopefully, this is pretty easy to fix.
Comment #16
xandeadx CreditAttribution: xandeadx commented#15 not work
Comment #17
Damien Tournoud CreditAttribution: Damien Tournoud commentedNeed the same fix for VIEWS_BULK_OPS_STEP_SINGLE.
Comment #18
muschpusch CreditAttribution: muschpusch commentedThanks Damien the patch works but i needed to start another browser to get rid of the SESSION...
Comment #19
xandeadx CreditAttribution: xandeadx commented#17 not work for me — "No row selected. Please select one or more rows."
Comment #20
Damien Tournoud CreditAttribution: Damien Tournoud commented@xandeadx: that's obviously not the same bug :)
Comment #21
dddbbb CreditAttribution: dddbbb commentedsub
Comment #22
Agileware CreditAttribution: Agileware commentedPatch in #17 fixed the error for me.
Except now I have more different erros :)
Comment #23
Agileware CreditAttribution: Agileware commented@xandeadx:
I have seen this error too.
I have opened a new issue here #1126734: No row selected. Please select one or more rows.
Comment #24
zilverdistel CreditAttribution: zilverdistel commentedTnx Damien
#17 fixes the error for me.
Comment #25
rfay#17 seems to do the trick for me as well
Comment #26
derhasi CreditAttribution: derhasi commentedyes #17 works fine
For those, who still get the error after applying the patch: you have to delete the cookies for the site, so it can rebuild the SESSION.
Comment #27
infojunkieThanks for the patch. Committed to latest dev.
Comment #28
xandeadx CreditAttribution: xandeadx commentedhttp://nodeone.se/blogg/learn-views-with-nodeone-part-27-additional-view... :)
Comment #30
logoservisdestek CreditAttribution: logoservisdestek commentedI'm having the same issue that is only happening on firefox chrome,ie works fine. I cleared browser cache and nothing changed. I commented out views_include('base'); and error disappered is there any efficient solution except commenting views_include('base'); ? is it ok if leave commented out the function ?
Comment #31
emilcarpenter CreditAttribution: emilcarpenter commentedFirefox fails, Chrome works. Site (on wamp localhost) worked also in Firefox after deleting cookies.
I was fiddling around with the Finder-module (requires Views) when this happened. I do not even have Views Bulk Operations installed, so it can not be blamed.
Seems more like Views is having difficulties with other modules that require Views...
...or indeed some other modules having difficulties using Views...
Comment #32
mike27 CreditAttribution: mike27 commentedI also encountered this error using Finder module (plus Ajax). Is this possible that a registry rebuild could fix this?
Thank you
Comment #33
klonosFYI, I had this error with Basic Cart, so I've filed #2438227: Fatal error: Call to undefined function views_include() in sites/all/modules/views/includes/plugins.inc on line 9 against Views. Lets hope that a generic solution is found so that others don't face this issue again.
Comment #34
RavindraSingh CreditAttribution: RavindraSingh as a volunteer and at Srijan | A Material+ Company commentedCan't reproduce this issue in 7.x-3.3 release, please upgrade your module now and let me know if you are still facing an issue.
Comment #35
joelpittetPlease open a follow-up issue and avoid re-opening closed issues.