Closed (duplicate)
Project:
Context PHP
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2010 at 23:15 UTC
Updated:
1 Jul 2010 at 09:38 UTC
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
Comment #1
jmseigneur commentedGet 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.
Comment #2
volocuga commentedSame here. In this case the module looks broken. Using XAMPP that has PHP 5.3.1.
Comment #3
finex commentedSame 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
Comment #4
finex commentedThis bug could be a dup of: http://drupal.org/node/734232
Comment #5
jmseigneur commentedClearing the cache as explained in http://drupal.org/node/734232 solved the issue on my side. Thanks.
Comment #6
finex commentedI suppose this bug can be closed as dup.
Comment #7
dixon_Marking this duplicate in favour of #734232: Fatal error: Call to a member function options_form() on a non-object