Before you ask please READ THIS

Can't add multiple media to a single work

edited November 2022 in Rife Posts: 33
When you click on add images, there is no option to add.
(ad blockers disabled)
Tested on all known browsers.
What to do?
Screenshot_1.png
1638 x 696 - 61K
Post edited by Sergey on

Comments

  • AirAir
    Posts: 10,970
    Hello :-)

    Could you try to disable all plugins except for Apollo13 Framework Extensions, and check there if it acts normally?

    With kind regards.
  • Posts: 33
    Thanks for your help, problem solved.
    The problem was in the plugin (indicated in the screenshot)
    I'll decide what to replace it with.
    Screenshot_3.png
    1705 x 709 - 101K
  • Posts: 33
    The problem persisted with another classic editor, what can be done?
    I don't use guteberg at all
    Screenshot_4.png
    1710 x 689 - 104K
  • AirAir
    Posts: 10,970
    Hello :-)

    Could you please send me temporary* access to your WordPress so I could check there what is going on? Send it here on the forum via private message(click on my nick, in top-right corner you will find option "Message"). In message please add LINK to topic it applies to.

    By sending access to WordPress I mean:
    -create a new ADMIN account with a fake e-mail
    -set some password to this account
    -send me created login and password

    *temporary - please delete this account after I am done, for your safety!
  • AirAir
    edited November 2022 Posts: 10,970
    Thanks for the help with this.

    Indeed there was an error in the latest update that made a fix for Gutenberg.

    I will release an update with the fix in a few days.

    Meanwhile, to fix it, go and edit the file in rife/js/admin-script.js line ~1876

    Change this:
    //fires after blocks in gutneberg are ready
    const { select, subscribe } = wp.data;
    
    const closeListener = subscribe( () => {
        const isReady = select( 'core/editor' ).__unstableIsEditorReady();
        if ( ! isReady ) {
            // Editor not ready.
            return;
        }
        // Close the listener as soon as we know we are ready to avoid an infinite loop.
        closeListener();
    
        // Your code is placed after this comment, once the editor is ready.
        setColumns();
    });
    to
    if(document.body.classList.contains( 'block-editor-page' )){
        //fires after blocks in gutneberg are ready
        const { select, subscribe } = wp.data;
    
        const closeListener = subscribe( () => {
            const isReady = select( 'core/editor' ).__unstableIsEditorReady();
            if ( ! isReady ) {
                // Editor not ready.
                return;
            }
            // Close the listener as soon as we know we are ready to avoid an infinite loop.
            closeListener();
    
            // Your code is placed after this comment, once the editor is ready.
            setColumns();
        });
    }
    Clear the cache in the browser(ctrl + f5) and get on with your work :-)
    Post edited by Air on
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!