Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: Undefined variable: tag in aioseop_opengraph.php #1688

Closed
nikkiskene opened this issue May 13, 2018 · 3 comments
Closed

Notice: Undefined variable: tag in aioseop_opengraph.php #1688

nikkiskene opened this issue May 13, 2018 · 3 comments

Comments

@nikkiskene
Copy link

I am looking to resolve the following issue when I activate the all-in-one-seo-pack. The following line is displayed on the header of my page:

Notice: Undefined variable: tag in /home/content/n3pnexwpnas04_data01/49/41464749/html/wp-content/plugins/all-in-one-seo-pack/modules/aioseop_opengraph.php on line 1204

@michaeltorbert
Copy link
Contributor

@nikkiskene Thanks for reporting this. We'll take care of it in a future release.
In the meantime, as it's only a notice rather than an error, you can safely ignore it. Make sure to not have debug logging turned on for your live site.

@michaeltorbert michaeltorbert changed the title Content embedded into Header using plugin Notice: Undefined variable: tag in aioseop_opengraph.php May 13, 2018
@michaeltorbert
Copy link
Contributor

@arnaudbroes
Copy link
Contributor

I have been able to reproduce this with these settings:

image

image

michaeltorbert pushed a commit that referenced this issue May 14, 2019
* Fix undefined $tag in aioseop_opengraph.php #1688

* Move $tag to function start #1688
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants