Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2012 at 19:02 UTC
Updated:
4 Aug 2021 at 09:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jrglasgow commentedI have tracked down the problem to metatag_page_build() when $page['content'] has not yet been set so metatag_page_build() just returns.
that is from #1281570: PHP notice when enable or disable links clicked in overlay (and redirect problem)
Instead I tried creating $page['content'] as an empty array and that seemed to fix my issue and didn't break #1281570: PHP notice when enable or disable links clicked in overlay (and redirect problem).
here is a patch for this issue.
Comment #2
damienmckennaWill review this for the next release.
Comment #3
damienmckennaI've committed the patch with a small change to the comment. Thanks.
Both you and tahiticlic (who provided the same fix) are mentioned in the changelog, but I noted you as the author as you provided a patch.
Comment #5
damienmckenna