• Resolved phaser32

    (@phaser32)


    Good morning, we have noticed that on some installations unfortunately the wp-optimize plugin blocks the correct functioning of onesignal. In all cases the following error appears in the browser console https://cdn.onesignal.com/sdks/OneSignalSDK.js’%20async=’async returning a 404. This situation occurs both with the cache enabled and disabled and by disabling js minification and excluding the file from deferring. We tried all possible settings but the only solution to get the onesignal plugin working again was to disable wp-optimize. It’s a real shame because we’ve always been happy with its use, but we can’t proceed in this way. If you have ideas or suggestions to resolve the anomaly they are welcome.
    Warm regards
    Ale

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support vupdraft

    (@vupdraft)

    This async on the end of the URL suggests that the JS its still be loaded Asynchronously

    https://cdn.onesignal.com/sdks/OneSignalSDK.js’%20async=’async?

    Can you exclude this from processing: https://snipboard.io/76bKit.jpg

    Can you then purge your cache and do a preload?

    Thread Starter phaser32

    (@phaser32)

    Hi Vupdraft, thanks for your reply and attention. Unfortunately I have already tried to exclude the URL but nothing changes.

    Plugin Support vupdraft

    (@vupdraft)

    Are you using any other optimization plugins?

    Would you be able to list your current plugins?

    Thread Starter phaser32

    (@phaser32)

    Good morning, below is the list of installed plugins even if in reality I don't understand their usefulness:
    
    
    Add to home screen WP
    Akismet Anti-spam: Spam Protection
    Bridge Core
    Classic Widgets
    Contact Form 7
    Disable Comments
    Disable Gutenberg
    Docket Cache
    Duplica pagina
    Favicon by RealFaviconGenerator
    Font Awesome
    Heartbeat Control by WP Rocket
    Leverage Browser Caching
    Loginstyle Admin Login Customizer & Styler Developer Version
    Map List Pro
    One Click SSL
    OneSignal Push Notifications
    Simple Page Ordering
    Simple User Avatar
    Snazzy Maps
    SSL Insecure Content Fixer
    Super Progressive Web Apps
    SVG Support
    WeePie Cookie Allow
    Wordfence Security
    WordPress Automatic Plugin
    WP Bulk Delete
    WP-Optimize - Clean, Compress, Cache
    WPBakery Page Builder
    WPS Hide Login
    Yoast SEO
    
    
    I say this because the tests carried out were also carried out on other websites where the plugins are different (sometimes even with woocommerce) and in any case before disturbing you all the necessary checks and controls were carried out by disabling all plugins and the problem recurred punctually.
    The only obvious solution is to disable Wp-optimize but as I told you we don't give up easily.
    We also use Docket Cache, but even disabling it doesn't change anything.
    We are awaiting your kind response
    Ale
    Plugin Support vupdraft

    (@vupdraft)

    Can you talk me through the steps to reproduce the issue (can you do this step by step including as much detail as possible so that I replicate the issue).

    Is it this plugin: https://en-gb.www.ads-software.com/plugins/onesignal-free-web-push-notifications/

    Thread Starter phaser32

    (@phaser32)

    Hi Vupdraft, I realized that the plugins actually have nothing to do with it (after all, we are talking about heterogeneous platforms and it is difficult to make a comparison with the plugins installed) and we realized that in fact the only websites that don’t work, they are all made with the Bridge theme. This is really strange but, since the problem is relegated to Bridge, I would rule out further analysis. I can’t understand the reason for this compatibility (Bridge is a very widely used theme) but I wouldn’t bother you too much.
    Thanks so much for the support.
    Warm regards
    Ale

    Plugin Support vupdraft

    (@vupdraft)

    No problem. Glad that you found the issue.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘onesignal issue’ is closed to new replies.