Closed (duplicate)
Project:
Context
Version:
6.x-3.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2010 at 18:56 UTC
Updated:
13 Oct 2010 at 05:48 UTC
When enabling the context module, the following error message appears:
* The plugin definition of context cannot locate schema <em>context</em>.
* warning: Invalid argument supplied for foreach() in ***\sites\all\modules\contrib\ctools\plugins\export_ui\ctools_export_ui.class.php on line 54.
CTools version is 1.7 stable.
Tried in a clean site (Drupal 6.19 with some standard modules like views and cck) and it happens too.
Comments
Comment #1
brynbellomy commentedsubscribe
Comment #2
kyle_mathews commentedThis is a ctools error and not a context error and has been discussed/fixed already in the ctools issue queue #865738: warning: Invalid argument supplied for foreach() in ctools/plugins/export_ui/ctools_export_ui.class.php on running update.php
Comment #3
jedihe commentedThank you kyle_mathews ! I tried checking in the CTools issue queue, but couldn't find it, that's why I posted it here.
Comment #4
ukrdrupal commentedBut why does it happen upon installation of the Context module? I have a relatively fresh installation of Drupal 6.19 as well and am using CTools 1.7. I have not had any problem with such warning messages, up until I installed the Context module. So, there must be some kind of conflict? If it is a CTools problem, can you at least indicate what the problem is?
Comment #5
kyle_mathews commentedBecause Context depends on CTools. So when you install Context, Drupal installs CTools as well. The error is entirely innocuous and doesn't cause any problems. If you'd like more background on what exactly is causing the error, click through to the CTools issue.
Comment #6
ukrdrupal commentedOkay, apparently, if I enable them one by one (Context followed by Context layouts followed by Context UI), then there are no errors or warning messages. But, I had watched a mustardseed tutorial and he said to just enable them all at once. He didn't have any errors or warning messages, apparently. ...Is there a conflict or not? Is this a concern or not?
Comment #7
ukrdrupal commentedkyle_mathews - Thanks! ...I hadn't refreshed the page to see your response before making my comment.