Hi,

When I install contextphp, and try to modify a context I get the following:

PHP Fatal error:  Call to a member function condition_form() on a non-object in /usr/src/gabcast_drupal/drupal/sites/all/modules/context/context_ui/context_ui.admin.inc on line 168, referer: http://dev.gabcast.com/admin/build/context

Not sure if this is a problem with context.module or the way this module registers itself. Posting here to begin with since it only occurs for me when contextphp is enabled.

Comments

jmseigneur’s picture

Get the same error "Call to a member function condition_form() on a non-object" when I try to add a new Context. I use Context module version 6.x-3.0-beta4

ryan_courtnage, have you solved this issue? Thanks.

volocuga’s picture

Same here. In this case the module looks broken. Using XAMPP that has PHP 5.3.1.

finex’s picture

Same error on 6.x.-x.0-beta4 when I click on the "ADD" link (admin/build/context/add) in the context settings page or I try to edit an existing context.
I'm using the same context version in another website in the same webserver and it works fine. There is only one difference: the one with the error is on a subdomain.

P.S: I'm using PHP 5.2.6.
P.P.S: I'm not using "context PHP" but only context

finex’s picture

This bug could be a dup of: http://drupal.org/node/734232

jmseigneur’s picture

Clearing the cache as explained in http://drupal.org/node/734232 solved the issue on my side. Thanks.

finex’s picture

I suppose this bug can be closed as dup.

dixon_’s picture

Status: Active » Closed (duplicate)