Title: Amp Error on Categories
Last modified: February 21, 2020

---

# Amp Error on Categories

 *  [calgarytech](https://wordpress.org/support/users/calgarytech/)
 * (@calgarytech)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/amp-error-on-categories/)
 * see: [https://www.urtech.ca/downloads/AMPErrors.jpg](https://www.urtech.ca/downloads/AMPErrors.jpg)
 * As you can see Google does not like my Categories on AMP anymore. I tried clearing
   the CACHE but Google was still not happy (perhaps I have to wait longer).
 * When I expand the error in GOOGLE SEARCH CONSOLE, it just states:
 * **Linked AMP version is invalid
    It won’t appear in Google Search results. Referenced
   AMP URL is not an AMP
 * I do not see any errors appearing on mobile browsers, including categories, so
   I don’t know what Google does not like about them.
 * Thoughts?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Famp-error-on-categories%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/amp-error-on-categories/#post-12463234)
 * We checked your issue. The error is due to using the Jetpack plugin.
    Like this:
   [https://monosnap.com/file/9SZZE426yBY7gSYWBRwW4DYN2v8o6m](https://monosnap.com/file/9SZZE426yBY7gSYWBRwW4DYN2v8o6m)
   Can you please check the wp-config file like this? Screenshot:[https://monosnap.com/file/1uVz9SNCwXvMZScR6tVjz267r4NoUo](https://monosnap.com/file/1uVz9SNCwXvMZScR6tVjz267r4NoUo)
 *  Thread Starter [calgarytech](https://wordpress.org/support/users/calgarytech/)
 * (@calgarytech)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/amp-error-on-categories/#post-12468446)
 * Hi Ahmed;
 * I verified my sites are set to DEBUG FALSE:
 * >  */
   >  define(‘WP_DEBUG’, false); define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); /* That’s
   > all, stop editing! Happy blogging. */
 * Any other ideas? [@ahmedkaludi](https://wordpress.org/support/users/ahmedkaludi/)
 *  Thread Starter [calgarytech](https://wordpress.org/support/users/calgarytech/)
 * (@calgarytech)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/amp-error-on-categories/#post-12468943)
 * see: [https://www.voteleela.com/downloads/AMPErrors.jpg](https://www.voteleela.com/downloads/AMPErrors.jpg)
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/amp-error-on-categories/#post-12473293)
 * Can you please clear the Optimize CSS cache and check once whether having the
   same issue or not?
    AMP-> settings-> Performance
 * Like this: [https://monosnap.com/file/qBB11dBmlaQ8NrEhT2EevI6J9xak8G](https://monosnap.com/file/qBB11dBmlaQ8NrEhT2EevI6J9xak8G)
 *  Thread Starter [calgarytech](https://wordpress.org/support/users/calgarytech/)
 * (@calgarytech)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/amp-error-on-categories/#post-12479981)
 * Donzo! It took about 2 minutes complete which is a very long time in a digital
   world, but did finished with “CSS Cache Cleared Successfully”
 * Lets see what our friend Mr. Google thinks now.
 * Thanks
 *  Thread Starter [calgarytech](https://wordpress.org/support/users/calgarytech/)
 * (@calgarytech)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/amp-error-on-categories/#post-12501152)
 * Now Google sees more errors:
 * AMP version URL Last crawled
    /category/legislation/amp/ Feb 29, 2020 /category/
   country/uk/amp/ Feb 27, 2020 /category/videos/amp/ Feb 27, 2020 /category/country/
   china/amp/ Feb 26, 2020 /category/country/us/amp/ Feb 26, 2020 /category/political-
   jokes/amp/ Feb 25, 2020 /category/country/amp/ Feb 25, 2020 /category/news/amp/
   Feb 23, 2020 /category/politicians/amp/ Feb 16, 2020 /category/country/canada/
   alberta/amp/ Feb 16, 2020
 * AMP version URL Last crawled
    /category/political-jokes/amp/ Feb 16, 2020 /tag/
   cambridge-analytica/amp/ Feb 16, 2020 /category/technology/amp/ Feb 16, 2020 /
   category/country/canada/amp/ Feb 16, 2020 /author/dmatthews/amp/ Feb 16, 2020/
   category/country/mexico/amp/ Feb 8, 2020 /category/country/russia/amp/ Feb 8,
   2020 /category/country/canada/british-columbia/amp/ Feb 8, 2020 /category/country/
   us/amp/ Jan 27, 2020
 * I also found that when I am creating a new post I see:
 * `Notice: Undefined variable: transient_filename in /home/content/22/7568022/html/
   partisanissues/wp-content/plugins/accelerated-mobile-pages/includes/features/
   performance/performance-functions.php on line 373`
 * at the top. The error is not visible outside of WP-ADMIN but I thought it may
   provide a clue.
 * My other sites do not exhibit these errors but are configured similarly.
 * Thoughts?
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/amp-error-on-categories/#post-12502585)
 * 1. Regarding to “Undefined variable: transient_filename” this issue we created
   a ticket for this bug. It will be fixing in our future updates.
 * Reference: [https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/4242](https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/4242)
 * 2. On your website, warning error is still showing. Can you please add this code
   to the wp-config file and clear the cache? And check whether the warning error
   is showing or not.
 * Like this: [https://pastebin.com/5L346YmT](https://pastebin.com/5L346YmT)
    -  This reply was modified 6 years, 4 months ago by [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/).
 *  Thread Starter [calgarytech](https://wordpress.org/support/users/calgarytech/)
 * (@calgarytech)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/amp-error-on-categories/#post-12526291)
 * Hi Ahmed
 * I have made not changes but do not see that error when creating new pages right
   now.
 * However, the much more important error that Google is reporting is still occuring:
 * Referenced AMP URL is not an AMP
 * AMP version URL Last crawled
    [https://www.partisanissues.com/category/country/uk/amp/](https://www.partisanissues.com/category/country/uk/amp/)
   Mar 7, 2020 [https://www.partisanissues.com/category/country/china/amp/](https://www.partisanissues.com/category/country/china/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/category/country/us/amp/](https://www.partisanissues.com/category/country/us/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/category/videos/amp/](https://www.partisanissues.com/category/videos/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/category/country/amp/](https://www.partisanissues.com/category/country/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/category/politicians/amp/](https://www.partisanissues.com/category/politicians/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/category/country/canada/alberta/amp/](https://www.partisanissues.com/category/country/canada/alberta/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/category/country/canada/amp/](https://www.partisanissues.com/category/country/canada/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/tag/cambridge-analytica/amp/](https://www.partisanissues.com/tag/cambridge-analytica/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/author/dmatthews/amp/](https://www.partisanissues.com/author/dmatthews/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/category/political-jokes/amp/](https://www.partisanissues.com/category/political-jokes/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/category/political-jokes/amp/](https://www.partisanissues.com/category/political-jokes/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/category/country/canada/british-columbia/amp/](https://www.partisanissues.com/category/country/canada/british-columbia/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/category/country/mexico/amp/](https://www.partisanissues.com/category/country/mexico/amp/)
   Mar 6, 2020 [https://www.partisanissues.com/category/legislation/amp/](https://www.partisanissues.com/category/legislation/amp/)
   Feb 29, 2020 [https://www.partisanissues.com/category/news/amp/](https://www.partisanissues.com/category/news/amp/)
   Feb 23, 2020 [https://www.partisanissues.com/category/country/russia/amp/](https://www.partisanissues.com/category/country/russia/amp/)
   Feb 8, 2020 [https://www.partisanissues.com/category/country/us/amp/](https://www.partisanissues.com/category/country/us/amp/)
   Jan 27, 2020
 * Thanks.
    -  This reply was modified 6 years, 4 months ago by [calgarytech](https://wordpress.org/support/users/calgarytech/).
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/amp-error-on-categories/#post-12530456)
 * On your website, warning error is still showing. Can you please add this code
   to the wp-config file and clear the cache? And check whether the warning error
   is showing or not.
 * Like this: [https://pastebin.com/5L346YmT](https://pastebin.com/5L346YmT)

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

The topic ‘Amp Error on Categories’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

## Tags

 * [amp errors](https://wordpress.org/support/topic-tag/amp-errors/)

 * 9 replies
 * 2 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/amp-error-on-categories/#post-12530456)
 * Status: not resolved