Support » Plugin: WP Recipe Maker » Conflict of WP Recipe Maker with AMP

  • Hello, I am having a problem with WP Recipe Maker, causing a function ahead of AMP time, causing a WP_Query conflict.
    Is there anything I can be doing to eliminate this error?

    Sorry for my English, I’m using the translator.

    Fernanda

    error message:

    PHP Notice: amp_is_available foi chamada incorretamente. amp_is_available() (ou amp_is_request(), anteriormente is_amp_endpoint()) foi chamado muito cedo e, portanto, não funcionará corretamente. WordPress is currently doing the wprm_print_output hook. Calling this function before the wp action means it will not have access to WP_Query and the queried object to determine if it is an AMP response, thus neither the amp_skip_post() filter nor the AMP enabled toggle will be considered. Parece que o plugin com slug wp-recipe-maker é o responsável; entre em contato com o autor. Leia como Depurar o WordPress para mais informações. (Esta mensagem foi adicionada na versão 2.0.0.) in /var/www/wp-includes/functions.php on line 5313

    • This topic was modified 6 months, 1 week ago by ricchetti.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Brecht

    (@brechtvds)

    When/where is this causing a problem exactly?
    Or is the issue just the notice in the logs?

    Thread Starter ricchetti

    (@ricchetti)

    Hi Brecht,

    the screen to create a post, without the field to add (or edit) text and photos. It is also not opening the buttons for editing (which is between the title / link and the body of the post).
    My website is going down for a few seconds, I don’t know if this conflict is overloading the server. Godaddy first asks to analyze plugin errors and this is the only one that appears.

    Thank you for your attention.

    Plugin Author Brecht

    (@brechtvds)

    I don’t see how this could be affecting things, since it’s only related to the print page.

    Does the edit screen work normally if you temporarily deactivate WP Recipe Maker as a test?

    Thread Starter ricchetti

    (@ricchetti)

    It works if I disable it.

    It also works if I disable Google’s AMP and leave WP Recipe Maker active.

    On May 13, Godaddy updated the WP (wordpress plan), it was soon after that it started to present this problem (I tried to solve it before contacting you).

    Yesterday had AMP update and kept the same problem.

    I would not like to take the plugin out to test another one, since it is my favorite and I never had any problems. That’s why I’m trying to see with you.

    Plugin Author Brecht

    (@brechtvds)

    Can you give me a link to the AMP plugin you’re using?

    In general I do not recommend using AMP for food blogs, by the way. These posts list just a few of the reasons:
    https://www.lafoo.com/the-end-of-amp/
    https://feastdesignco.com/amp-support/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Conflict of WP Recipe Maker with AMP’ is closed to new replies.