• Resolved lutechi

    (@lutechi)


    The plugin is working but, been having some trouble since I deployed it to the site. On my test site seems to run fine. But on the actual site got a few of the “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 24 bytes) in …/wp-includes/meta.php on line 563” errors before and I tried to raise the memory and was still doing it.

    Also when trying to create new ranks it would display that error or just a blank page and if I try to reload it acknowledges the changes but if I don’t it would display on the ranks that there is a new total amount of ranks but in the list you can only see the ones that I have reloaded after the page is blank.

    I deactivated and reactivate and still the same. I was wondering if the plugin is caching friendly? Or maybe have to re run the setup and maybe it repairs something got broken (dunno how, only I can think is to drop tables).

    I mainly use the plugin so far is for ranks which is working, but it worries me when is not running like it should and cause major issues later.

    Thanks in advance.

    https://www.ads-software.com/plugins/mycred/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author myCred

    (@designbymerovingi)

    What are the differences between your test server and live server?
    What caching plugins are you using? Ranks are custom post types, do you use any plugin that manages or adjusts how custom post types are handled on your site?

    As long as you have WP_DEBUG enabled, you should see any myCRED related (and other plugins/themes) issues.

    Also, is the issue only regarding Ranks? Do you experience issues with any other features?

    Thread Starter lutechi

    (@lutechi)

    Thanks for the quick response, I use W3 Total Cache on the live. And instead of only 2 users like the test server, there is 25k on live. Right now running Wangguard plugin to remove spam accounts to see if any change after, so it should be way less after but I doubt the user amount causes any issues.

    Hooks that are on:

    Points for registrations
    Points for logins
    bbPress
    BuddyPress: Members

    Add-ons that are on:

    BuddyPress
    Ranks

    Core Settings changes:

    Update rankings once a day.

    Plugin Author myCred

    (@designbymerovingi)

    I will run some tests with Wangguard to see if I can replicate the issue. How much memory have you allocated now?

    Thread Starter lutechi

    (@lutechi)

    The issues happened before Wangguarg, I just installed that plugin last night to clean up the users a bit.

    According to the php.ini

    memory_limit = 128M

    This site is on the root folder, it just popped into my head what if other subfolders sites affect the memory from the root. Maybe is handled different (per site has x amount of memory and not just 1 amount for the whole), I’m just inventing stuff in my head. The website is not multisite.

    Thanks again for looking into it.

    Plugin Author myCred

    (@designbymerovingi)

    Thanks for the info.

    Not sure how your web server is setup regarding memory handling but if anything your host should know.

    Ill let you know as soon as I find anything.

    Thread Starter lutechi

    (@lutechi)

    Hello Gabriel, I’m reporting to let you know I got it working all now.
    After all it was the memory allocated.

    When I tried before, I put this line and it did not work:

    define(‘WP_MAX_MEMORY_LIMIT’, ‘256M’);

    I tried again just now this line and it worked:

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

    Sorry for all the troubleshooting. Now all I need is the calculate points for existing users and is perfect.

    Thanks again.

    Thread Starter lutechi

    (@lutechi)

    Marking as resolved

    Plugin Author myCred

    (@designbymerovingi)

    Hey Lutechi

    Thank you for the update! Good new! Let me know if you have any further issues.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘myCRED Log is empty’ is closed to new replies.