• Resolved codejp3

    (@codejp3)


    Love the plugin!

    Have an issue with multisite network activation though.

    If this plugin is network-activated, the network plugins page becomes broken, meaning that NOTHING works. You can’t click anything. EVERY href is broken and does nothing. Checkboxes are broken and don’t toggle. The rest of the network admin panel seems to be fine, but this plugin completely breaks the network admin plugins page.

    Page refreshes don’t fix it. Only remedy is to manually disable the plugin by renaming the folder, or editing the active plugins in the DB.

    If you don’t deal with multisite installs, I can set you up with an admin account on a dev server so you can verify and test it yourself.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Jyoti Bhandari

    (@jyoti197)

    Hi @codejp3,

    Thanks for using our plugin. our plugin is working as an add-on to the Loco Translate plugin. it is just used to translate all plugins and theme strings automatically. Please check Network Plugins Page after deactivating the main loco translate plugin.

    Thanks & Regards

    Thread Starter codejp3

    (@codejp3)

    I know that your plugin is an add-on to Loco translate.

    How does that address the issue with your plugin breaking the network admin plugins page anytime your plugin is network-activated on multisite?

    Loco Translate works fine when network activated. Your plugin breaks the network admin plugins page when it’s network activated.

    Here’s a demo video to drive the point home:
    https://wp-multisite.local-dev.codejp3.com/temp-videos/automatic-translate-breaks-netowrk-admin-plugins-page.webm

    Plugin Support Jyoti Bhandari

    (@jyoti197)

    Hi @codejp3,

    Thanks for detecting the issue. Soon we will release a plugin update Now you can fix it by using the below-shared guidelines:-

    Go to automatic-translator-addon-for-loco-translate >> includes >> Feedback >> class.feedback-form.php replace line no. 32 to 39 below-shared code:-
    function enqueue_feedback_scripts() {
    $screen = get_current_screen();
    if ( isset( $screen ) && $screen->id == ‘plugins’ ) {
    if ( $hook == ‘plugins.php’ ) {
    wp_enqueue_script( ‘atlt-free-feedback-script’, $this->plugin_url . ‘includes/Feedback/js/admin-feedback.js’, array( ‘jquery’ ), $this->plugin_version );
    wp_enqueue_style( ‘cool-plugins-feedback-style’, $this->plugin_url . ‘includes/Feedback/css/admin-feedback.css’, null, $this->plugin_version );
    }
    }

    Hope this will helps you! Let me know if you are still facing any issue.

    Thanks & Regards

    Thread Starter codejp3

    (@codejp3)

    Thank you for the quick reply!

    I wish I could have given you more information, but no debug messages were being kicked out. It just “broke” all URLs on the page without any indication ‘why’.

    Just confirming that this did fix the network admin plugins page issue.

        function enqueue_feedback_scripts() {
            $screen = get_current_screen();
            if ( isset( $screen ) && $screen->id == 'plugins' ) {
                if ( $hook == 'plugins.php' ) {
                    wp_enqueue_script( 'atlt-free-feedback-script', $this->plugin_url . 'includes/Feedback/js/admin-feedback.js', array( 'jquery' ), $this->plugin_version );
                    wp_enqueue_style( 'cool-plugins-feedback-style', $this->plugin_url . 'includes/Feedback/css/admin-feedback.css', null, $this->plugin_version );
                }
            }
        }

    Thank you for the temporary fix until the update is released.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multisite – Network Activation Breaks Network Plugins Page’ is closed to new replies.