Error:
The Open Graph image is using the following invalid tokens: [user:picture:url].

User account

Create new account(active tab)
Log in
Request new password

Error message
The Open Graph image is using the following invalid tokens: [user:picture:url].
Username *
Spaces are allowed; punctuation is not allowed except for periods, hyphens, apostrophes, and underscores.
E-mail address *
A valid e-mail address. All e-mails from the system will be sent to this address. The e-mail address is not made public and will only be used if you wish to receive a new password or wish to receive certain news or notifications by e-mail.
Hide Locale settings
Time zone
Select the desired local time and time zone. Dates and times throughout this site will be displayed using this time zone.

Users can not register.

Thanks.

Comments

dave reid’s picture

Project: Token » Metatag
Version: 7.x-1.0-beta6 »
Component: Token Actions » Code
Category: bug » support
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

I cannot duplicate this with the Meta tags module. I also don't get the additional form elements on the register user form - I only get username and e-mail address (and password depending on if users can log in immediately or not). Both times worked just fine.

dave reid’s picture

Title: Error: "The Open Graph image is using the following invalid tokens: [user:picture:url]." » Do not use invalid token of [user:picture:url] for default user Open Graph image config if user pictures are disabled
Version: » 7.x-1.x-dev
Assigned: Unassigned » dave reid
Category: support » bug
Status: Postponed (maintainer needs more info) » Active

Ah, thanks to #1343374: Opengraph metatags [user:picture:url] I know understand where this bug is coming from. Opening and assigning.

dave reid’s picture

Status: Fixed » Closed (fixed)

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

joshuautley’s picture

Version: 7.x-1.x-dev » 7.x-1.6
Issue summary: View changes
Status: Closed (fixed) » Needs review

Just updated to Metatag 7.X-1.6 and this error just happened...

The Image is using the following invalid tokens: [user:picture:url].

Testing patch now as it is not in place for some reason. Any thoughts?

UPDATE: I see now the code is there from this patch. Must be something else.

joshuautley’s picture

Version: 7.x-1.6 » 7.x-1.x-dev
Status: Needs review » Closed (fixed)
damienmckenna’s picture

@joshuautley: Did you happen to disable the setting after overriding the user entity's metatag configuration? If so, the token could be stuck in the default settings.

joshuautley’s picture

No that wasn't it. After I disabled the CAPTCHA module the error went away. I don't need CAPTCHA because I already have MOLLOM so no loss there.

I am curious though how that module could have had anything to do with it if at all.

joshuautley’s picture

Happened again on the LIVE site even with CAPTCHA uninstalled. So, I cleared my cache and tried again with no issues. So, it must have been in the cache.

damienmckenna’s picture

Glad you got to the bottom of it!

miloshito’s picture

Hi.

I think that Dave's patch hasn't been applied. I am using a new version of Metatags and I still have the issue, so only after i apply this patch it gets solved.

damienmckenna’s picture

@MiloshL: The code Dave added in commit d3432bb is still in the codebase.

The problem may persist if you disable user pictures, because the Metatag configuration may not adjust accordingly, thus every time you save a user profile it would give the error.

miloshito’s picture

@Damien Yes that was the problem. Ok that solves it. I had user picture disabled. Thanks!

damienmckenna’s picture

Assigned: dave reid » Unassigned