• Resolved Ludovic S. Clain

    (@ludovicsclain)


    Hi there,

    Several backend issues, on the page listing the plugins:
    ? A JS script rendering errors :

    Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
    HTMLDocument. (upsell-order-bump-fr.9:
    at ripts.php?c=0_d&ver=6.4.2:2:27028)
    at t (load-scripts.php?c=0_dever=6.4.2:2:27330)

    ? Invasive advertising (first time I’ve seen this, is it allowed?), here a quick snippet for those like me who are bothered by it:

    function masquer_publicite_order_bump() {
        if (is_admin() && strpos($_SERVER['REQUEST_URI'], 'plugins.php') !== false) {
            echo '<style>.wps-offer-notice { display: none !important; }</style>';
        }
    }
    add_action('admin_head', 'masquer_publicite_order_bump');

    Hope it can help to fix,

    Warm regards,
    Ludovic

Viewing 1 replies (of 1 total)
  • Plugin Author WP Swings

    (@wpswings)

    Hello,

    The script that is coming  issue that show JS rendering error in the console  on the plugin listing page seems to be due to the any third party plugins. But if issue is from our plugin then we will fixed it in upcoming update.

    Second,it seems that you are using the code to hide the wpswing code on the plugin listing page through your code, you can’t do it through normal css, you may require the hook change to do that

    Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘Several backend issues on plugins page’ is closed to new replies.