Title: Critical error
Last modified: November 12, 2022

---

# Critical error

 *  Resolved [MyWorldMyDream](https://wordpress.org/support/users/motonewsbrasil/)
 * (@motonewsbrasil)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/critical-error-426/)
 * My site is experiencing some critical error with AMP plugin.
 * Please, see the Support UUID: ampwp-c8d6b370-aad6-58a8-aacd-9c57372ba3e5
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-error-426%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/critical-error-426/#post-16195713)
 * Hello [@motonewsbrasil](https://wordpress.org/support/users/motonewsbrasil/)
 * Thank you for contacting us, As we checked the AMP pages on your site we didn’t
   find any critical error, and your [AMP pages are valid](https://search.google.com/test/amp/result?id=tM0qQz6icTFumFZXx5nCbQ)
 * Can you please share more details, Link to the page where you found the critical
   error, please also send an error message or screenshot of the error.
 * Looking forward to hearing from you.
 *  Thread Starter [MyWorldMyDream](https://wordpress.org/support/users/motonewsbrasil/)
 * (@motonewsbrasil)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/critical-error-426/#post-16195823)
 * Thanks for replying
 * I don’t know what happens, but it seems to be temporary, because after some minutes,
   everything is working again.
 * When this happens, I receive an email from WordPress telling me there is a critical
   error with AMP plugin… when i try to access the AMP pages, i can’t, and i receive
   the same critical error message on my internet browser.
 * The plugin also generated all the technical information when I click on Support,
   generating the UUID above that you should be able to see.
 * I don’t know how to attach a screenshot here so, the error that comes in the 
   email from WordPress is:
 *     ```
       error details
       ================
       An error of type E_ERROR was caused on line 147 of the /var/www/wp-content/plugins/amp/includes/options/class-amp-options-manager.php file. Error message: Uncaught TypeError: array_merge(): Argument #3 must be of type array, string given in /var/www/wp-content/plugins/amp/includes/options/class-amp-options-manager.php: 147
       Stack trace:
       #0 /var/www/wp-content/plugins/amp/includes/options/class-amp-options-manager.php(147): array_merge(Array, Array, '+OK')
       #1 /var/www/wp-content/plugins/amp/includes/options/class-amp-options-manager.php(260): AMP_Options_Manager::get_options()
       #2 /var/www/wp-content/plugins/amp/includes/amp-helper-functions.php(349): AMP_Options_Manager::get_option('theme_support')
       #3 /var/www/wp-content/plugins/amp/src/PairedRouting.php(472): amp_is_canonical()
       #4 /var/www/wp-includes/class-wp-hook.php(307): AmpProject\AmpWP\PairedRouting->initialize_paired_request('')
       #5 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
       #6 /var/www/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
       #7 /var/www/wp-settings.php(461): do_action('plugins_loaded')
       #8 /var/www/wp-config.php(97): require_once('/var/www/wp-set...')
       #9 /var/www/wp-load.php(50): require_once('/var/www/wp-con...')
       #10 /var/www/wp-admin/admin-ajax.php(22): require_once('/var/www/wp-loa...')
       #11 {main}
         thrown
       ```
   
 * So, please investigate because, although everything is working now, from time
   to time I experience this error and my visitors can’t access my content, even
   if it is just for a few minutes, the search engines don’t like it.
 * Thanks
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/critical-error-426/#post-16196280)
 * Hello [@motonewsbrasil](https://wordpress.org/support/users/motonewsbrasil/)
 * Thank you for the details, it seems the error is generated from the functions
   which get options (settings) for AMP. there might be something wrong with your
   current saved settings, it may happen in case the data is corrupted or not updated
   properly while updating plugin.
 * I will recommend the following.
 * 1) Re-save your AMP plugin settings.
 * 2) Re-install the AMP plugin, making sure you opt-in for [delete plugin data](https://amp-wp.org/documentation/getting-started/settings-screen/other-section/#delete-plugin-data-at-uninstall).
 * goto AMP->Settings->Others-> toggle on “Delete plugin data at uninstall”
 * ![](https://i0.wp.com/amp-wp.org/wp-content/uploads/2022/01/other-settings-section-
   1024x438.webp?resize=1024%2C438&ssl=1)
 * Now go to Dashboard->Plugins->deactivate AMP plugin-> Delete AMP plugin.
 * Click Add New -> Search AMP (Look for the blue icon) -> Install-> Activate ->
   Follow Through wizard one more time (it will create fresh settings.)
 * I hope this helps!
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/critical-error-426/#post-16234012)
 * [@motonewsbrasil](https://wordpress.org/support/users/motonewsbrasil/) As we 
   didn’t receive a response I’ll mark this as resolved. Feel free to open a [new support topic](https://wordpress.org/support/plugin/amp/#new-post)
   if you require any further assistance.

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

The topic ‘Critical error’ 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/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [Milind More](https://wordpress.org/support/users/milindmore22/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/critical-error-426/#post-16234012)
 * Status: resolved