Hi,
Not sure if the underlying issue is with Metatag or Profile2 but with the newest release (1.6) when viewing specific Commerce related subtabs (local tasks) the site would present a white screen with no errors output (using show errors) and no logs in watchdog.
The two subtabs of the user profile page (/user) that we are aware of exhibiting the issue are Orders and Stored Cards (from the Card on File module)
Disabling Metatags module resolved the issue.
Then, analyzing the variable data in the metatag_entity_load() we were able to discern that the entity that was causing the crash was profile2. After some further trial and error we found that disabling the Profile2_pages modules resolved the issue.
Paths that are known to cause a while screen when both the Metatag and Profile2_pages modules are enabled are:
- user/%uid/orders
- user/%uid/cards
Comment | File | Size | Author |
---|---|---|---|
#1 | profile2_pages_crash-2516870-1.patch | 489 bytes | Daniel Bornman |
Comments
Comment #1
Daniel Bornman CreditAttribution: Daniel Bornman commentedGot the same issue with the Profile2 Pages module as described above. Profile2 Pages overrides the uri callback for Profile2 entities and expects certain profile2 entity methods to be available in the overridden callback. See profile2_page_uri_callback() in profile2/contrib/profile2_page.module.
I've attached a fix similar to the ECK crash one here: https://www.drupal.org/node/2514812. Is that fine?
Comment #2
loparr CreditAttribution: loparr commentedHad same isuue with profile2. Patch solves it. Thank you.
Comment #3
robit8deb CreditAttribution: robit8deb commentedSame issue. patch solved it.
Comment #4
DamienMcKennaClosing this in favor of the proposed fix in #2524460: White screen due to Metatag, OG Vocab, Organic Groups and Profile2.