Failure to prepare AMP page
-
Hello,
Something is happening since the last upgrade. When I try to see some pages in Safari, I see the following error: “Failure to prepare AMP page” with the following error log in Apache:
`mod_fcgid: stderr: Ha ocurrido un error PHP al tratar de preparar la respuesta AMP. Esto no puede haberlo provocado el plugin AMP sino alg\xc3\xban otro plugin activo o el tema actual. Tendr\xc3\xa1s que revisar los detalles del error para determinar el origen del error. – Maximum allowed CSS byte count exceeded for inline style ‘font-size: smaller’: <small></small> (0) [AmpProject\\Exception\\MaxCssByteCountExceeded]
mod_fcgid: stderr: #0 /wp-content/plugins/amp/vendor/ampproject/amp-toolbox/src/Dom/Element.php(82): AmpProject\\Exception\\MaxCssByteCountExceeded::forInlineStyle()
mod_fcgid: stderr: #1 /wp-content/plugins/amp/includes/validation/class-amp-validation-manager.php(1686): AmpProject\\Dom\\Element->setAttribute()
mod_fcgid: stderr: #2 /wp-content/plugins/amp/includes/validation/class-amp-validation-manager.php(1534): AMP_Validation_Manager::update_admin_bar_item()
mod_fcgid: stderr: #3 /wp-content/plugins/amp/includes/class-amp-theme-support.php(2072): AMP_Validation_Manager::finalize_validation()
mod_fcgid: stderr: #4 /wp-content/plugins/amp/includes/class-amp-theme-support.php(1668): AMP_Theme_Support::prepare_response()
mod_fcgid: stderr: #5 [internal function]: AMP_Theme_Support::finish_output_buffering()
mod_fcgid: stderr: #6 /wp-includes/functions.php(4757): ob_end_flush()
mod_fcgid: stderr: #7 /wp-includes/class-wp-hook.php(292): wp_ob_end_flush_all()
mod_fcgid: stderr: #8 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
mod_fcgid: stderr: #9 /wp-includes/plugin.php(484): WP_Hook->do_action()
mod_fcgid: stderr: #10 /wp-includes/load.php(1072): do_action()
mod_fcgid: stderr: #11 [internal function]: shutdown_action_hook()
mod_fcgid: stderr: #12 {main}`Only happens in Safari (MacOS… not in Safari at iOS). Not in Google Chrome or Firefox… Not happens in the Safari incognito mode… It only happens in webpages with no traffic (I think…)
After I visit the page in Firefox o Chrome, suddenly, if I try to visit the page again in Safari… I can see the webpage correctly… the error is gone!
I use the last version of the plugin and WordPress. Theme: Genesis Sample theme last version. I not see any error in the WordPress Health.
Any clue? Thank you very much.
The page I need help with: [log in to see the link]
- The topic ‘Failure to prepare AMP page’ is closed to new replies.