Title: undefined variable: json
Last modified: January 9, 2020

---

# undefined variable: json

 *  Resolved [squeebo](https://wordpress.org/support/users/squeebo/)
 * (@squeebo)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/undefined-variable-json/)
 * I’m getting an error at the top of the post when I add /amp to the url.
 * > Undefined variable: json in /home/mysite/public_html/wp-content/plugins/schema/
   > includes/integrations/amp.php on line 34
 * The page otherwise seems to load fine.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/undefined-variable-json/#post-10828954)
 * Your error indicates the problem is with the Schema plugin, not the AMP plugin.
   Please open a support topic for that plugin.
 *  [zekavr](https://wordpress.org/support/users/zekavr/)
 * (@zekavr)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-json/#post-10869587)
 * I have the same problem and ask support of Schema plugin before 2 weeks. No answer
   for now

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘undefined variable: json’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 2 replies
 * 0 participants
 * Last reply from: [zekavr](https://wordpress.org/support/users/zekavr/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-json/#post-10869587)
 * Status: resolved