Support » Plugin: Patreon Button, Widgets and Plugin by CodeBard » Update to Patreon button widget crashed website

  • The latest update to the plugin keeps crashing my website. I’ve had to manually delete the plugin to allow me to get back in but re-installing crashes the site again. I was initally getting a plugin/plugin.php missing error but on the second attempt it is a Fatal error – Memory exhausted error. The plugin was previously working fine

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author CodeBard


    This can only be due to the memory limit at your WordPress being set low at default.

    I was able to reproduce this issue at a default WordPress installation only by limiting WordPress memory to 32 mb via config.

    define(‘WP_MEMORY_LIMIT’, ’32M’);

    And even then only at admin. Front end works fine.

    You may have numerous high memory use plugins in your WordPress, and the added mem use from this plugin may be pushing it over the limit.

    At this stage the best solution would be to increase the mem limit, either from WordPress or PHP (sometimes both).

    Hi Codebard,

    Thanks for getting back to me. I’m increased the memory and am now getting:

    Plugin could not be activated because it triggered a fatal error.

    It just also popped up with:

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1114112 bytes) in /homepages/40/d646930318/htdocs/app646931690/wp-content/plugins/patron-button-and-widgets-by-codebard/index.php on line 1531

    Plugin Author CodeBard


    It seems you possibly increased the mem limit to 256, but you are still short. the error message shows 268 mb. You must be using some big plugins at your website.

    Increasing the mem limit to 320 etc and then decreasing it from there until you get the mem error can help you to determine the mem limit you need.

    Hi Codebard,

    Really appreciate your help. I’m not running a huge amount of plugins or anything major as far as I’m aware. I’ve upped the memory to 320 and am still getting the error:

    Fatal error: Allowed memory size of 335544320 bytes exhausted (tried to allocate 28672 bytes) in /homepages/40/d646930318/htdocs/app646931690/wp-includes/wp-db.php on line 2708

    Plugin Author CodeBard


    It doesnt need to be huge amount of plugins. just a few big plugins (woocommerce etc) are enough. Plugins in that class i mean.

    At this point the only thing to do is to go up until you dont get memory issues anymore. Try 500~ mb or so. If again you get the error, then we can say that there is something going on.

    You are so far the only one experiencing this, there may be a conflict in between plugins but its early to tell.

    Plugin Author CodeBard


    Can you give me a list of plugins you have at your wordpress install? Lets see if i can reproduce the situation.

    Hi Codebard,

    Sorry I didn’t get back to you yesterday, it’s been a hectic week. really appreciate the time you are putting in to resolving this issue, especially as it seems it’s just me experiencing it!

    My current plugins are (alot more than I remembered!):

    Custom contact forms – 7.8.5 (Taylor Lovett)
    Disable comments – 1.7 (Samir Shah)
    Feedzy RSS Feeds Lite – 3.2.4 (Themeisle)
    Google Analytics Counter Tracker 3.5.6 – (WPAdm)
    Google Analytics for WordPress by MonsterInsights – 6.2.4 (MonsterInsights)
    Head and Footer Scripts Inserter – 4.12 – (Arthur Gareginyan)
    Hide Title – 1.0.4 – (Brandon Kraft & Randall Runnels)
    iframe – 4.3 – (webvitaly)
    Jetpack by 5.4 – (Automattic)
    Libsyn Podcast Plugin – – (Libsyn)
    Members – 2.0.1 – (Justin Tadlock)
    Mobilize – 2.5.2 – (Ciprian Popescu)
    PayPal WP Button Manager – 1.0.3 – (Angell EYE)
    Really Simple SSL – 2.5.22 – (Rogier Lankhorst)
    SX User Name Security – 2.3 (Daniel Roch, Julio Potier, and SecuPress)
    TinyMCE Advanced – 4.6.3 – (Andrew Ozz)
    TK Google Fonts – 2.0 – (ThemeKraft)
    Use Any Font – 4.7.3 – (Dinesh Karki)
    WF Cookie Consent – 1.1.2 – (wunderfarm)
    Widget Options – 3.4 – (Phpbits Creative Studio)
    Wordfence Security – 6.3.20 – (Wordfence)
    Yellow Pencil Pro – 6.1.4 – (WaspThemes)
    Yoast SEO – 5.7.1 – (Team Yoast)
    YouTube – 11.8.3 – (EmbedPlus Team)

    Quite a few of these seem to be pre-installed by my provider so I can go through and delete the ones I’m not using to cut it down if necessary.

    If it helps, the only change was to update the patreon button widget and removing it gets the site running again

    Plugin Author CodeBard


    Can you install the famous P3 Plugin Profiler ( and run an analysis to see what is the mem usage of plugins per plugin?

    I didn’t see an option for mem usage of plugins per plugin, but peak mem usage was 64.06MB

    Plugin Author CodeBard


    I installed all but one of your plugins (i just installed a close one to that) and at the end i wasnt able to reproduce the issue.

    P3 plugin profiler result doesnt even show the plugin in the pie chart.

    Test site has no issues.

    If peak mem usage was 64 mb, and your installation is running out of mem, then it means that your mem is STILL capped at 64 mb or vicinity.

    Just putting in

    define(‘WP_MEMORY_LIMIT’, ’256M’); etc wont change your mem limit.

    Your PHP config defines your mem limit. In web servers using FastCGI, fcgid config also limits mem usage.

    You should seek to check and increase your mem limit at php config by contacting your host, if it is at or around 64MB.



    Thanks CB, I’ll get on to them and see if that is possible.

    Plugin Author CodeBard



    Per relevant topic:

    Just re-install to solve this problem.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Update to Patreon button widget crashed website’ is closed to new replies.