Failed to Prep AMP Page
-
AMP Plugin Error
—
For the site indicated, I get the error message below. I noticed in the Forum, other user(s) have had this issue, BUT, it appeared that the culprit was excessive CSS (usage) exceeding CSS Budget. That does not appear to be the case in this instanceI checked with my hosting company. They said it was this AMP Plugin causing
the problem, in their assessment.My hosting company wanted me to find out “(Server) requirements” & report back to them.
As far as PHP, 5.6 I recall, is enough to work for this AMP Plugin, so we should bevfine there.Failed to prepare AMP page
A PHP error occurred while trying to prepare the AMP response. This may not be caused by the AMP plugin but by some other active plugin or the current theme. You will need to review the error details to determine the source of the error.
If you get stuck, you may want to share any details in a new topic on the plugin’s?support forum.Some (potentially) helpful info.
– I have not created external CSS stylesheets
– I have put Custom CSS into the “Additional CSS” in the “Appearance” > “Customize” > “Additional CSS” section of WordPress
– I have tested the AMP Plugin & every time I turn OFF the AMP plugin, the “Failed to Prepare AMP page” message / error goes
away & all is fine. When I active the AMP plugin, the message / Error Returns, immediately.– I checked the “inspect”, and clicked the “Network” tab and checked CSS usage. It was very minimal it appeared, only about 35 Kbytes.
?
– BTW, I read in AMP plugin documentation that adding !important is not allowed. Evidently AMP pages won’t render or won’t render properly if !important is used – – – ? I have used !important in my custom CSS code to edit & have removed it.? I thought that could have something to do with the Failed to prepare AMP page message? but when I removed !important from custom CSS, I still got the Failed to prepare AMP page error message when I activated the AMP plugin.
Also, I have not changed any plugins, or added / changed CSS in the last 30 / 60 days but since then, this error pops
up, I thought, after the most recent AMP plugin update.—
Error Log Below
https://gist.github.com/wsan12/1a5171839c18dbfdf6c28e3a427a1c58
—
>>> I have done this, below, per instructions to other user with same error message. I did not see any errors in the error index related to this issue.To debug this issue first make sure you are able to access the developer tool for AMP, ie you can see AMP has a submenu Validation tool and error index if no then goto Users->Profile->enable AMP developer Tools (screenshot)
>>> My admin toolbar does not show the AMP plugin. I did not see access to CSS Usages
Next visit subscribe page to check which plugin or theme is excedding your site CSS budget goto Admin Toolbar->AMP->CSS Usages (screenshot)
Clicking on it will take you to a page where you can find which plugin or theme is overbudgeting CSSThe page I need help with: [log in to see the link]
- The topic ‘Failed to Prep AMP Page’ is closed to new replies.