Excited with the merge from cck phone ;) I uninstalled the previous module and went to the phone 2.x. , however...

Whenever I try to install the new 2.x dev branch of phone, I get a WSOD. (then I have to remove module from shell command).
I figured out that this is incompatible with Entity Translation 7.x-1.x-dev , if I disable entity translation, phone 2.x can be installed.

Comments

Can you provide any information on what the error is? I just installed a clean drupal 7, enabled the dev version of entity translation module, then the 2.x branch of the phone module, and all worked fine.

Do you have information from your error logs as to what the actual error is that might help us track this down? It might be as simple as a cache clear that will fix this.

Title:WOSD with Entity TranslationWSOD with Entity Translation

Hi cdale,
Flushing caches before or even disabling caches didn't work.
Logs shows always the same error:
PHP Fatal error: Cannot access empty property in /all/modules/entity_translation/includes/translation.handler.inc on line 728

line 728: $this->entity->{$translations_key} = self::emptyTranslations();

/**
   * @see EntityTranslationHandlerInterface::setEntity()
   */
  public function setEntity($entity) {
    $this->entity = $entity;
    // Ensure translations data is populated.
    $translations_key = $this->getTranslationsKey();
    if (!isset($this->entity->{$translations_key})) {
      $this->entity->{$translations_key} = self::emptyTranslations();
    }
    // Update bundle and entity id properties.
    list($this->entityId, , $this->bundle) = entity_extract_ids($this->entityType, $this->entity);
  }

Thanks!

Project:Phone» Entity Translation
Version:7.x-2.x-dev» 7.x-1.x-dev
Component:Code» Base system

I think this is likely a problem with the entity_translation module. I can't replicate this, or even figure out how to replicate.

Assigning to Entity Translation project.

Status:Active» Postponed (maintainer needs more info)

$translations_key definitely should not be null as it is always defined. Steps to reproduce?

I just bumped again today with this, impossible to have phone 7.x-2 dev and entity translation in the same installation.
Error WOSD (sometimes not inmediately but trying to add a new field) and as seen on drush:
WD php: Exception: Cannot initialize entity translation path variables (invalid path scheme). in EntityTranslationDefaultHandler->initPathVariables() (line 1449 of [error]
/var/www/mysite/sites/all/modules/entity_translation/includes/translation.handler.inc).
Drush command terminated abnormally due to an unrecoverable error. [error]
Exception: Cannot initialize entity translation path variables (invalid path scheme). in EntityTranslationDefaultHandler->initPathVariables() (line 1449 of /var/www/mysite/sites/all/modules/entity_translation/includes/translation.handler.inc).

Any tips ?
Thanks.

The latest dev has a commit that might fix this or at least avoid the fatal error.

Today's test has been done with Last packaged version: 7.x-1.0-beta2+26-dev - Last updated: March 23, 2013 - 00:54
No luck :(

I'm seeing this too with the March 23 version - disabling the Phone module caused the error to stop appearing.

Can any one tell me how to reproduce this? I've tried installing phone and entity translation, creating a phone field, and nada, no errors. If I can at least reproduce it, I might have better luck tracking it down.

Steps to reproduce will need to be from a clean install, with as few modules enabled as possible.

Title:WSOD with Entity TranslationWSOD with Phone + Entity Translation

Clarifying title.