backdrop-contrib / metatag

Add structured metadata, aka "meta tags", for various pages on your site.
GNU General Public License v2.0
3 stars 15 forks source link

Warning: "Theme hook "metatag_http_equiv" not found." #30

Closed ghost closed 2 years ago

ghost commented 5 years ago

I keep seeing this warning in the site logs:

Theme hook "metatag_http_equiv" not found.

Searching through the code shows a few calls to this, but no theme function for it...

jenlampton commented 5 years ago

There's no theme_html_tag() in Backdrop, so all these old theme functions need to be converted.

Can you let me know what metatag submodules you are using? I'd like to play around with this, but my guess is that we'll need to do something like this PR.

ghost commented 5 years ago

@jenlampton The site where I'm seeing this only has the main Metatag module enabled, and the Metatag: OpenGraph sub-module.

jenlampton commented 5 years ago

Thanks, I'll start there :)

On Thu, Aug 15, 2019, 12:09 AM Peter Anderson notifications@github.com wrote:

@jenlampton https://github.com/jenlampton The site where I'm seeing this only has the main Metatag module enabled, and the Metatag: OpenGraph sub-module.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/backdrop-contrib/metatag/issues/30?email_source=notifications&email_token=AADBER6U2W6GGZKP4N3KW2LQET6JTA5CNFSM4FXZSUMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4LBF5Y#issuecomment-521540343, or mute the thread https://github.com/notifications/unsubscribe-auth/AADBERYGFVN2YCGMHHP74FTQET6JTANCNFSM4FXZSUMA .

alanmels commented 2 years ago

Hitting the same issue with no additional modules enabled: Screen Shot 2021-12-01 at 1 38 11 PM

alanmels commented 2 years ago

This is the only development version module I use on a production Backdrop website, because of the reported issue. The PR takes care of the issue, however there were couple more occurrences of metatag_http_equiv theme hook calls, so it would be nice to also get rid of them before releasing another official version.