• Resolved leoravera

    (@leoravera)


    Hello, I really like twentig but I had to disable because recently I get this error on some posts:

    Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 14305411080 bytes) in /home/customer/www/leoravera.com/public_html/wp-content/plugins/twentig/inc/twentytwenty/blog.php on line 195

    Can this be solved easily?
    Thanks in advance

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

    (@twentig)

    Hi,

    I see that Twentig is still activated on your website. Would you please give me the URL of a post that displays the error?

    If you still have the error, could you please try to deactivate all your other plugins to see if there’s a conflict?

    Thanks,
    Tom

    Thread Starter leoravera

    (@leoravera)

    Hi Tom

    Thanks for your reply.

    The issue occurs on leoravera.com, a website reserved for paying customers. I will check disabling other plugins and I will let you know which one is causing the conflict.
    Thanks again
    Leo

    Thread Starter leoravera

    (@leoravera)

    Hi Tom, I disabled all the plugins and with much surprise, the bug is still there

    https://www.dropbox.com/s/bp04l0c4guypegi/Screenshot%202021-08-17%2022.10.48.png?dl=0

    Now I had to disable twentig again, I can’t have this bug on my live website.

    I created a staging copy of the website here:
    https://staging3.leoravera.com/

    yet I can’t recreate the issue on the staging website, everything works correctly.

    Are these information enough to make you think on a possible cause? I can live without twentig, but it makes my website better and I am sorry to disable it.

    Thanks again,
    kind regards
    Leo

    Plugin Author Twentig

    (@twentig)

    Hi Leo,

    The function on line 195 that causes the error is only called when the “Featured Image Layout” option is set to “No Image” (Customizer > Twentig Options > Blog > Single Post).

    Would you please try to set this option to “Default” to see if the error disappears?

    If that works, you can remove the featured image by adding some CSS (Customizer > Additional CSS)

    .single-post .featured-media {
    	display: none;
    }
    
    .single-post .post-inner {
    	padding-top: 0;
    }

    We’re looking for a fix that we can include in the plugin, but it’s not easy without being able to replicate the issue.

    I hope the above solution fixes your issue.
    Tom

    Thread Starter leoravera

    (@leoravera)

    Hi Tom, thank you very much for your help. Your solution solved the issue.

    Thanks again,
    sincerely
    Leo

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error’ is closed to new replies.