When I run update.php after upgrading to 7.x-1.39 I get the following message.

Unresolved dependency Registration (Version >=2.0 required)
RedHen Registration requires this module and version. Currently using Registration version 1.6

Is there something I did wrong?

CommentFileSizeAuthor
#6 redhen-registration-2877714-6.patch572 bytesnedjo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

samstamport created an issue. See original summary.

samstamport’s picture

I'm also getting these error messages:

Notice: Undefined variable: css_id in include() (line 16 of C:\xampp\htdocs\D7\profiles\openoutreach\modules\contrib\views_slideshow\theme\views-slideshow-pager-field-field.tpl.php).

Notice: Undefined variable: field_item in include() (line 17 of C:\xampp\htdocs\D7\profiles\openoutreach\modules\contrib\views_slideshow\theme\views-slideshow-pager-field-field.tpl.php).

samstamport’s picture

Here's a link to download my site to replicate this problem https://www.dropbox.com/s/2ynoaebkylk07mv/ColumbiaBlooms-2017-05-23T12-1....

  • rosemarymann committed ab0e37a on 7.x-1.x
    Issue #2877714: update to newly required version of registration module.
    

  • nedjo committed ea619dc on 7.x-1.x
    Issue #2877714: fix patch URL.
    
nedjo’s picture

We hit this bug: #2842174: RedHen Registration requires this module and version. Currently using Registration version 2.0-beta1+46-dev (Currently using Unresolved dependency Registration (Version >=2.0 required)). We need to use our own patch because it applies to the .info file in redhen_registration, and that file is modified by drupal.org's packaging script in a way that prevents the original patch from applying.

  • nedjo committed cf727b1 on 7.x-1.x
    Issue #2877714: use custom patch for packaged info file.
    

  • nedjo committed fe817d0 on 7.x-1.x
    Issue #2877714: patch registration module.
    
rosemarymann’s picture

Status: Active » Fixed
samstamport’s picture

After installing the latest distribution release I get the following when I run update.php.

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: http://localhost:8080/D7/update.php?op=selection&token=6ritUtr7xNyHgaZog... StatusText: Service unavailable (with message) ResponseText: Error: Class name must be a valid object or a string in entity_get_controller() (line 8048 of C:\xampp\htdocs\D7\includes\common.inc).

Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; mime_mail has a deprecated constructor in include_once() (line 107 of C:\xampp\htdocs\D7\sites\all\modules\backup_migrate\includes\crud.inc).
Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; backup_file has a deprecated constructor in require_once() (line 487 of C:\xampp\htdocs\D7\sites\all\modules\backup_migrate\backup_migrate.module).
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.registrant_entity_type' in 'field list': SELECT base.id AS id, base.name AS name, base.label AS label, base.weight AS weight, base.locked AS locked, base.default_state AS default_state, base.data AS data, base.status AS status, base.module AS module, base.registrant_entity_type AS registrant_entity_type, base.registrant_bundle AS registrant_bundle, base.registrant_email_property AS registrant_email_property FROM {registration_type} base; Array ( ) in EntityAPIController->query() (line 187 of C:\xampp\htdocs\D7\profiles\openoutreach\modules\contrib\entity\includes\entity.controller.inc)

Please let me know if I can help in some way to enable you to recreate this problem.

Thanks!

rosemarymann’s picture

I was able to update a site using the new version with no problem. Is your site actually using the RedHen event registration sub-module? I know it must be enabled to be getting this issue, but I guess one thing is to determine if it is actually required. This has been a very time-consuming problem to try to trouble-shoot, and one approach may just be that we remove it.

samstamport’s picture

Sorry this has turned out to be such a difficult problem to solve.

Debut RedHen event registration is installed, but disabled. Debut Event is installed and enabled.

Given the above situation what should I do to fix this?

Thanks!

nedjo’s picture

Hi Sam,

It sounds like you may at one point have enabled the Debut Redhen Event Registration module and then disabled it. The problem you're getting suggests that some of the other modules involved are still enabled on your site, but - if you're not using registration either with your events or elsewhere on your site - may not be needed. If that's the case - that is, if you are not using registration - you could try this:

  • Back up your site.
  • Disable and uninstall the following modules: Redhen Registration, Entity Registration.
  • Update to the latest release of Open Outreach.

I haven't tried these steps myself, so don't know if any additional manual steps may be needed, such as removing registration-related configuration prior to the second step (disabling and uninstalling).

samstamport’s picture

I guess there's more stuff I need to clean up. Please advise. I disabled & uninstalled Redhen Registration. Entity Registration was not listed in my list of installed modules.

I'm getting the following when I run update.php.

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: http://localhost:8080/D7/update.php?op=selection&token=fllriF_KRsss5iLOy... StatusText: Service unavailable (with message) ResponseText: Error: Class name must be a valid object or a string in entity_get_controller() (line 8048 of C:\xampp\htdocs\D7\includes\common.inc).

Update: Uninstalling Redhen Registration required that I uninstall Debut RedHen event registration first.

There is a Registration module. I cannot disable it. The module list indicates "Required by Open Outreach".

I deleted the Redhen Registration folder from C:\xampp\htdocs\D7\profiles\openoutreach\modules\contrib\redhen\modules then copied the latest Open Outreach distribution files to my site. This did not fix the problem. I still get the error message above.

samstamport’s picture

Status: Fixed » Active
samstamport’s picture

Please see https://www.drupal.org/node/2895355 for a possible related issue.

samstamport’s picture

Status: Active » Needs review
Volkie’s picture

I also encountered this update problem, and I seem to have solved it. Drupal would not let me disable the module, so I disabled it by hand, using PhpMyAdmin (read here how to do this). After disabling the module, I was able to update my Open Outreach, and re-enable the module in Drupal. I don't get any more notifications about unresolved dependency issues for the registration module, so this seems to have solved the update issue. I am now running the latest version of Open Outreach (7x-1.41).

On my website, event registration appears to be working fine, using the latest update of Open Outreach. Unfortunately, I receive a 500 error when finalizing (saving) the registration to an event. I have no idea how to fix it. It may be the result of above update issue, but I really can't tell. The error I receive is:

Backend fatal error: PHP Fatal error: Cannot access empty property in .../modules/user/user.module on line 466\n.

I am trying to create an event, for which registration is necessary. Creating the event seems succesful, but when testing the registration, I receive the above error. I created the event by adding new content of the event type. The event shows nicely, but finalizing (saving) the registration to the event won't work. The Drupal log gives me the following error message:

Notice: Undefined property: RegistrationState::$attended in registration_state_overview_form() (line 999 of .../profiles/openoutreach/modules/contrib/registration/includes/registration.forms.inc).

I noticed in .../admin/structure/registration/registration_states, there is an unused column with radiobuttons called 'Attended'. Could this be the source of my problems? When I select any of the options under 'Attended', my selection is not memorized after saving the page. Obviously something is not working the way it was intended.

Volkie’s picture

Update:

I installed the latest Open Outreach distribution, version 7.x-1.42, from scratch on another web server. I still encounter the same problem as with the older version. I succeed in creating a new event, to which subscription is required. But when I try to subscribe to the event, hitting the 'save' button renders the following error:

EntityFieldQueryException: Entity has no base table. in EntityFieldQuery->propertyQuery() (line 1271 of /includes/entity.inc)

This error is NOT the result of updating, but is part of the standard Open Outreach installation. I sincerely hope and pray this issue will be solved in the next version of Open Outreach, because it would add important functionality to my website. Thanks.