Chefranov (@chefranov)

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • In reply to: Memory Leak?

    @chefranov

    Participant

    Today’s ACF update (6.4.1):
    Fix – ACF no longer causes an infinite loop in bbPress when editing replies

    In reply to: Memory Leak?

    @chefranov

    Participant

    Hi there,

    Thanks for the heads up on this one. We’ve been able to replicate the issue and will aim to get a fix into the next release of ACF.

    https://github.com/AdvancedCustomFields/acf/issues/954#issuecomment-2822221960

    @chefranov

    Participant

    I rolled back gutenberg plugin to 17.9 (regarding blocks everywhere github repository) and it’s the same. I think it doesn’t work anymore. WordPress uses new API in core and need to add support new version of WP and Gutenberg.

    @chefranov

    Participant

    I tried, I installed bbPress, Block everywhere and Gutenberg 20.6.0 but it doesn’t work. If I don’t install Gutenberg plugin I get critical error on the site. If I install 20.6.0 then I don’t see reply window and see js errors:

    Store "core/interface" is already registered.
    
    Uncaught Error: You tried to opt-in to unstable APIs without confirming you know the consequences. This feature is only for JavaScript modules shipped with WordPress core. Please do not use it in plugins and themes as the unstable APIs will removed without a warning. If you ignore this error and depend on unstable features, your product will inevitably break on the next WordPress release.
    at t (implementation.ts:101:9)
    at 772 (index.min.js?ver=1.0.0:13:2251)
    at o (index.min.js?ver=1.0.0:34:44729)
    at index.min.js?ver=1.0.0:34:45918
    at o.O (index.min.js?ver=1.0.0:34:44999)
    at index.min.js?ver=1.0.0:34:45931
    at index.min.js?ver=1.0.0:34:45937

    @chefranov

    Participant

    So do I need to install more plugins? bbpress, blocks everywhere, gutenberg?

    In reply to: Memory Leak?

    @chefranov

    Participant

    Answer from ACF support:

    Hi there,

    Thanks for reaching out to us, I trust you are keeping safe.

    I have escalated this to the developers for further checking. I will get back to you with more findings.

    Your patience is highly appreciated.

    Kind Regards,
    Kenoly

    In reply to: Memory Leak?

    @chefranov

    Participant

    I wrote to support and to the ACF forum. Let’s wait for an answer.

    In reply to: Memory Leak?

    @chefranov

    Participant

    I tried this hack

    add_action('all', function($tag) {
        static $count = 0;
        if (strpos($tag, 'acf') !== false && $count++ > 300) {
            error_log('ACF hook overflow: ' . $tag);
            exit;
        }
    });

    and it response:

    [17-Apr-2025 10:10:24 UTC] ACF hook overflow: gettext_acf

    In reply to: Memory Leak?

    @chefranov

    Participant

    I found a plugin that affects this. It’s Advanced Custom Fields Pro. I don’t have any additional fields (ACF), just installed plugin. I created empty site and installed plugins.
    Also tried with Free version of ACF and it the same. Could you check this conflict?

    STR:
    1. Install and activate bbPress
    2. Install and activate Advanced Custom Fields (Free or Pro)
    3. Open Dashboard → Replies → Add new reply

    Expected result: page with creating a new reply
    Actual result: 500 error and error about memory leak in php logs

    @chefranov

    Participant

    It will fix memory leak on reply page?

    @chefranov

    Participant

    New release will fix memory leak? I can’t create a topic or share error because antispam block it

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