When deploying 7.x-1.17 to our production environment, and only to our production environment on Acquia, we get the Temporarily Unavailable and the following:


[
  {
    "disp_time": "2016-09-13 14:40:18",
    "id": 3,
    "log_type": "apache-error",
    "server": "ded-5243",
    "text": " [error] [client 10.236.131.163] FastCGI: incomplete headers (0 bytes) received from server \"/var/www/site-fpm/-------/php-fpm\""
  },
  {
    "disp_time": "2016-09-13 14:40:18",
    "id": 2,
    "log_type": "apache-error",
    "server": "ded-5243",
    "text": " [error] [client 10.236.131.163] (104)Connection reset by peer: FastCGI: comm with server \"/var/www/site-fpm/-------/php-fpm\" aborted: read failed"
  },
  {
    "id": 1,
    "log_type": "php-error",
    "request_id": "v-fd91c084-79bf-11e6-8940-22000a2f84ef",
    "server": "ded-5243",
    "text": " PHP Fatal error:  Call to undefined function metatag_translate() in /mnt/www/html/-------/docroot/sites/all/modules/metatag/metatag.inc on line 224 request_id=\"v-fd91c084-79bf-11e6-8940-22000a2f84ef\""
  }
]

This only happens in production. I am unable to reproduce on any other Acquia environment and everything is fine in dev desktop.

Comments

Topplestack created an issue. See original summary.

DamienMcKenna’s picture

Category: Bug report » Support request
Status: Active » Fixed

That function was removed in Metatag v7.x-1.8 last January, so the fact that your metatag.inc file calls it means there are multiple copies of the module in the codebase. Please check to see where the newer 1.17 release is and make sure to do fully delete the sites/all/modules/metatag directory.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

kirantej_p’s picture

I am facing the same error in Acquia production on every overlay pages on D7 website.

DamienMcKenna’s picture

@4kirantej_p: Something got mucked up in your codebase while the module was updated. Please clear the site's cache, and you might want to manually delete the "metatag" directory and download it again.