You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed the value of $attachment_id in the example. I added an image and used the ID for that image
Then I saved the code and activated it.
I checked a post where I set schema type as webpage and page type as article. I noticed fatal error in the page source that says: WPSEO_Schema_Image is not found.
Good call! Yeah, that should probably use the generate_from_attachment_id function instead, as referenced below the code snippet. I will test that and update the snippet later.
Please give us a description of the issue
When I use the filter wpseo_schema_article and use the example code provided here, I see fatal error.
Steps to replicate:
Screenshot:
The text was updated successfully, but these errors were encountered: