0

while using Term Reference Tree module it shows me following error. I have found the PATCH for this error.

I am new to drupal. I don't know how can I apply this patch. Please help me to solve this problem. Thank you very much.

Notice: Undefined property: stdClass::$vid in i18n_taxonomy_term_name() (line 461 of /home/lawand9/public_html/law/sites/spanish.lawandmoney.info/modules/i18n-7.x-1.11/i18n/i18n_taxonomy/i18n_taxonomy.module).
    Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 173 of /home/lawand9/public_html/law/includes/entity.inc).
    Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 350 of /home/lawand9/public_html/law/includes/entity.inc).
    Notice: Undefined property: stdClass::$vid in i18n_taxonomy_term_name() (line 461 of /home/lawand9/public_html/law/sites/spanish.lawandmoney.info/modules/i18n-7.x-1.11/i18n/i18n_taxonomy/i18n_taxonomy.module).
    PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.i18n_tsid' in 'field list': SELECT base.tid AS tid, base.vid AS vid, base.name AS name, base.description AS description, base.format AS format, base.weight AS weight, base.language AS language, base.i18n_tsid AS i18n_tsid, v.machine_name AS vocabulary_machine_name FROM {taxonomy_term_data} base INNER JOIN {taxonomy_vocabulary} v ON base.vid = v.vid WHERE (base.tid IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => 1 ) in DrupalDefaultEntityController->load() (line 191 of /home/lawand9/public_html/law/includes/entity.inc).
1

1 Answer 1

1

If you would take one second and google how to apply patches, you would come across this page: https://www.drupal.org/patch/apply. It explains how to apply patches.

4
  • yes,but how can i apply patch using command line. my website is already on server Commented Feb 12, 2015 at 8:40
  • You have to connect with ssh. If your server doesn't allowed SSH connection, you will have to apply the manually
    – Robin
    Commented Feb 12, 2015 at 8:46
  • ok,so i edited code manually first 4 error gones but not last one Commented Feb 12, 2015 at 8:52
  • You should open a new question. This hasn't problem isn't related to apllying patches. Also, if my answer helped you out, upvote it so that users know this is a legit answer
    – Robin
    Commented Feb 12, 2015 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.