• Hi, after upgrading to the new version of this plugin (version 0.9.82.1) I get the following error message on all AMP pages on the site (fatal error is in bold):

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in var/sites/j/johnbrace.com/public_html/wp-includes/wp-db.php on line 2516

    Disabling the plugin fixes the problem. But does anyone know how to solve it (so I can use this plugin)? Or should I just revert to an earlier version?

    Thanks

    John Brace

Viewing 5 replies - 1 through 5 (of 5 total)
  • Same problem here, Google just started to show problems

    I increased the memory to 512M and no way, it is still not working, just the homepage, every single post is showing the amp version, but the home is not working

    Thread Starter johnbrace

    (@johnbrace)

    Yes I got an email from Google too about the AMP pages.

    I looked up the line it refers to in the code. It’s to do with creating new arrays in the database. Quite why the error is being triggered though I’m not sure (yet).

    It’s useful to know that pages other than the homepage aren’t affected.

    Maybe it could be because the homepage doesn’t have a path and filename like the other pages do and the lack of this causes the problem? I’m not really sure. What are the main differences in this version of the plugin compared to the previous version.

    Are you running https:// on your site too? Could that be the issue?

    Yes, i’m running https, i just reinstalled 0.9.74, and everything is fine now, I hope they can let us know what is happening here

    The error that shows the page is

    <style amp-custom>
    <br />
    <b>Fatal error</b>: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1048576 bytes) in <b>/home/laweb/public_html/wp-includes/class-wp-comment-query.php</b> on line <b>893</b><br />

    Try re-saving permalinks. I had problems with the home page showing until I did that.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @pablogarces

    That error is coming because of the memory allocation in the server. It’s got nothing to do with the AMP, I would recommend you get in touch with your hosting company.

    Hope that helps, if not, then let me know.

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

The topic ‘memory problem’ is closed to new replies.