• Resolved MyWorldMyDream

    (@motonewsbrasil)


    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 to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @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

    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

    (@motonewsbrasil)

    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

    (@milindmore22)

    Hello @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.

    goto AMP->Settings->Others-> toggle on “Delete plugin data at uninstall”

    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

    (@milindmore22)

    @motonewsbrasil As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

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

The topic ‘Critical error’ is closed to new replies.