• Resolved chrismartins29

    (@chrismartins29)


    Since the plugin update, I seem to have an issue on my website with the Combine JavaScript Files and Defer Render-blocking JavaScript features. If I turn these features on then I have a problem at mobile with elementor products widget and the background image slideshow not showing and the menu/search buttons don’t work. Has anyone else had any similar issues?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support daniellaivanova

    (@daniellaivanova)

    Hello @chrismartins29,

    I checked the case thoroughly and discussed it with the SG Optimizer plugin developers. They noticed the following JS call that is added to the HTML by the Woocommerce Paypal Payments plugin:

    var cjs = __webpack_require__(996);

    This calls for webpack_require, which isn’t a defined function. Due to the fact that there is an uncaught error that is breaking the runtime for any JS scripts loaded after this error, which in turn – breaks the combined file by the SG optimizer, as it’s loading after the error. The same goes for the defer JS loading.

    Once the error is resolved by either the Woocommerce Paypal Payments plugin developers or your website’s developers, the Defer Render-blocking JavaScript and Combine JavaScript files options should work as expected.

    Thread Starter chrismartins29

    (@chrismartins29)

    Thanks for your reply.

    After further investigation, it seems that this update is causing more and more issues. I now have an issue with PayPal payments with Woocommerce, SG Optimizer plugin prevents the PayPal payment buttons from displaying.

    I am going to roll back and hope that you guys can fix all the related bugs or I will switch to another more reliable plugin I think. Shall as I like the plugin but I have had a number of issue with this plugin now.

    Plugin Support Plamen M

    (@plamenm)

    Hello @chrismartins29 .

    The newly reported issue seems to be related to the same JS call which my colleague mentioned above. There is nothing that we can (or should) fix in this case. The issue is related to a call by the PayPal Payments Plugin to a function which had not been defined beforehand. This is a non-standard process and our plugin works only with standard calls and processes which follow the standards for JavaScript code development.

    Pass the above provided information on to your site developers or the Woocommerce Paypal Payments plugin developers. Until they resolve this error in their code, you can keep the other optimizations in our plugin enabled and turn the Defer Render-blocking JavaScript and Combine JavaScript files options off temporarily or install a different PayPal payments plugin.

    Regards,
    Plamen Martinov
    Tech Support Team
    SiteGround.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No products or background image slider and menu working at mobile’ is closed to new replies.