I would like to remove “defer” cause I want to connect with “Newebpay Payment”. “Defer” makes the page cannot turn to transaction page. I have tried to exclude the id which contain “defer” through ASYNC javascript, but it doesn’t work.
]]>Good afternoon
I’m a begginer but i found out that Async and CF7 give me errors in the console.
I’ve tried many things (defer / async, exclude the plugin CF7, exclude some jquerys i wasn’t sure about) but i still have it.
Could you please help me?
https://www.presta-immo.fr/part-etat-des-lieux-de-sortie/
part-etat-des-lieux-de-sortie/:1141 Uncaught ReferenceError: wp is not defined at part-etat-des-lieux-de-sortie/:1141:708
part-etat-des-lieux-de-sortie/:1144 Uncaught ReferenceError: wp is not defined at part-etat-des-lieux-de-sortie/:1144:2 at part-etat-des-lieux-de-sortie/:1145:4
main.js:159 Uncaught (in promise) InvalidValueError: wps_aa is not a function at _.qj (main.js:159:373) at Tfa (main.js:253:180) at main.js:252:229
]]>When I click on “step 2” in wizard, test starts but after a few second it got “Error: The page returned an error: 404 Not Found” can you help me to solve?
Thanks
Hey Frank,
The ASYNC plugin keeps knocking out my mobile menus in Divi by Elegant Themes. I don’t know what to exclude because I’m still not that good with this stuff, lol. Can you look at 67biltmore.com in mobile and tell me what script I should exclude so that the mobile menu functions. I’ve had to disable ASYNC on the site so the menu works for customers. Thanks.
]]>On Safari the images of WooCommerce shop not showing, neither on Mac or on smartphone.
On these pages there are problems even with other javascript as messages on top pages, side menu on smartphone not shown.
The problem is javascript.
]]>2024/03/30 06:47:06 [error] 62088#62088: *153 FastCGI sent in stderr: "PHP message: PHP Warning: Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/async-javascript/asyncjsWizardScreens.php on line 21" while reading response header from upstream, client: 64.23.170.210, server: lovcour.com, request: "GET /wp-admin/options-general.php?page=async-javascript&tab=wizard HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php80-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/options-general.php?page=async-javascript&tab=status"
Hello,
Please check the error on server, and I failed to access the setting tab.
]]>Hi, firstly kudos to you for both these plugins. Being broke, I am looking for free ways to ‘eliminate render blocking resources’. I’ve spent hours trying to learn and find ways to do. I’ve installed Autoptimize but not sure what the recommended settings are. I am not ‘aggregating’, just defering (both js and css). I still have issues hence finding this plugin mentioned in a Kinsta youtube video.
So my questions if you’d be so kind…
Hi, may I ask: if I’m using AO, is the same method used for defering?
Does it defer after load event?
Thanks!
]]>Hello again Frank! Please can I confirm that I have added the gtag script correctly to Async defer? I’m not sure how to reference the external script correctly:
Defer Scripts: wp-content/plugins/ecwid-shopping-cart/js/frontend.js, wp-includes/js/jquery/jquery.min.js, googletagmanager.com/gtag/js?id=G-RE9HBZ8ZR2
Thank you!
]]>Hello. Deferring JS with this plugin causes issues with GiveWP plugin.
If excluded via the provided setting to exclude a single plugin, nothing changes.
It looks like most of the issues are cause by the JS included in the /wp-includes/js/dist/ folder. Is there a way to exclude that folder as a whole?
Furthermore, the GiveWP js aren’t in the root folder of the plugin, but in the /wp-content/plugins/give/build/ folder.
Thank you.
]]>Would you be able to advise when “Apply Defer (jQuery excluded)” is enabled, what are the exact jQuery files excluded? Is it just jquery.js or the whole jquery folder from wp-includes is excluded?
Nonetheless, I think this is the only plugin that offers plugins and themes exclusion which makes things a lot simpler.
]]>I love this plugin but for some reason, whenever I enable Async everything seems to work fine except for my login and register pages on mobile. They show up on desktop version just fine. I tried setting theme exclusion of Divi and Divi Child theme but still have the same problem. Any idea what I can do to fix this?
Thanks guys!!
]]>hi there,
i have tried a lot of these plugins and I liked the look of yours for the control.
all others don’t seem to be able to include the theme and the video on my homepage never loads.
sp.ypurs seemed to be working wel, I have set my js to defer and have added the recaptcha and tag manager to the defer list.
but pagespeed still says they are there and to defer them.
my page score has even gone slower.
hopefully someone can help me
Thanks
]]>Hello,
Is it possible to defer inline js as in Autoptimize?
Thank you!
]]>This plugin works as expected to allow this page (and others like it) to work on mobile devices and all mobile browsers. The theme is Uncode. It works fine on Safari DESKTOP with page sections scrolling and clicking into place AND the logo showing up in the top left. It does NOT function correctly on Chrome or Firefox DESKTOP (sections not clicking into place) nor does the logo show up. When I turn the plugin off all work fine but Mobile does not function correctly. I’ve tried all variations of defer and exclude to no avail. Any help would be appreciated. I’m not a coder but can put code in place when instructed specifically.
]]>I have a payment page that is loaded in my website flow. When the plugin is activated, it does not work correctly most of the time. This is why I’d like to exlude the related JS. Only, the JS seems to get loaded externally as you can see in the screenshot. Can this be excluded?
]]>Good afternoon,
We are receiving a critical error message to our inbox with WP Async Javascript.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.3.1
Active theme: Astra Child (version 1.0.0)
Current plugin: WP Async JavaScript (version 2.20.03.01)
PHP version 8.0.30
Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 14 of the file /chroot/home/a1080e73/diehleducation.com/html/wp-content/plugins/wp-async-javascript/asyncjsDashboardScreens.php. Error message: Unparenthesized a ? b : c ? d : e
is not supported. Use either (a ? b : c) ? d : e
or a ? b : (c ? d : e)
i have the following problem:
i have implemented a cookie banner on my website, but it loads last. it should load directly first, but i have no idea how to do that with wordpress, so i downloaded this plugin. despite inserting the script as async loading, it loads last.
have I set something wrong?
]]>We are having an issue where the Async JS plugin blocks the CC fields from showing on a Gravity Forms form with the Stripe Add-On. We have narrowed the issue down in an installation with the 2023 theme and the only active plugins are Async JavaScript, Gravity Forms, and Grafity Forms Stripe Add-On. If we deactivate Async JS the form works as intended.
The problem occurs in Chrome; occasionally the CC fields show but most of the time they are missing. Adding Gravity Forms and the Strip Add-On to the Plugin Exclusions list does not help at all.
Do you have any suggestions on which scripts to exclude? Until we find a setting that doesn’t break our form we are unable to use your plugin.
]]>Hi dev. I need to know, when you will be add a support 6.3 version. Thanks.
]]>Hola, tengo un problema de incomptabilidad del plugin con datatables, intente excluir “cdn.datatables.net”, pero los errores aumentaron.
]]>Hello all,
being a big fan of autoptimze, I installed “Async JavaScript” to test it. I use the Breakdance Builder and after installing the plugin my whole site stopped working.
By disabling and uninstalling the plugin, most of my site worked again. Only my blog overview page still does not work properly and the page and post list is not displayed correctly.
Or when editing the page I get the error “WordPress AJAX Request failed”
Do you have any ideas on how I can fix this?
]]>Hello, when I enable async, most of my images will not load. It doesn’t happen on my staging site, but on my live site it does.
I have tried searching for solutions but I don’t find any. Any help would be appreciated.
]]>I’ve created a GTmetix account, validated my account, got my API Key, and plugged it into the Asyn JavaScript Wizard and keep getting the error: Error: Invalid e-mail and/or API key
I’ve turned off blocking software, tried from another browser, regenerated the API key 3 times, and cannot get past this error to let the plugin do its thing.
Any suggestions?
I have installed and activated a new plugin, WooCommerce Product Retailers, which adds buttons below the Add To Cart button in a shop. However, the buttons were not showing up reliably.
After test each of my installed plugins, I found the issue appears to be with the Async Javascript plugin.
I added the javascript files to the exclude list on the settings page, but this did not solve the issue. The buttons do not show up on the page.
I also attempted to exclude the entire WooCommerce Product Retailers plugin through the settings page, but the problem persists.
However, when I uninstall the Async Javascript plugin, the buttons load without issue.
Can you please advise?
]]>I’m planning to update WordPress core to 6.2.2, but the Async JavaScript plugin is just Tested up to : 6.0.5 as of now and did not receive any updates in the past 11 months.
I am just not sure if this will work as it is or if I will have to find another way to do it.
]]>A few days ago WP/Jetpack stopped reporting stats, and it was because the img-tag line below was gone. It reappeared when I deactivated Async JavaScript, which was set to “Defer” scripts.
<img src="https://pixel.wp.com/g.gif [...] width="6" height="5" id="wpstats">
</body>
</html>
]]>
Hi guys!
I have a problem on this page https://wp.sicher-testen.ch/de/drogentest/speicheltest/speicheltest-5-drogenarten/
When I added product to the card I have an error in console, and mini-card doesn’t work properly.
I have tons of errors in console about JS and this is first error:
Uncaught ReferenceError: wp is not defined
at wp.sicher-testen.ch/:927:1
<script id=’wp-i18n-js-after’>
wp.i18n.setLocaleData( { ‘text direction\u0004ltr’: [ ‘ltr’ ] } );
</script>
Async-javascript – 2.21.08.31
WordPress – 6.1.1
Woocommerce – 7.3.0
Minicart for WooCommerce – 2.0.4
This is my settings of async-javascript -https://www.awesomescreenshot.com/image/37821724?key=75ff33d309c903f6b7f2cfeae8effc74
I’ve tried to add this plugin to Exclude list, but with no success.
Any suggestion?
Is it possible to defer an inline script by ID?
Currently I’m getting console errors when I defer:
– lodash.min.js
– i18n.min.js
– data.min.js
– keycodes.min.js
– compose.min.js
Inline script are loaded after the main js files with the following ID’s:
– lodash-js-after
– wp-i18n-js-after
– wp-data-js-after
– wp-keycodes-js-translations
Instead of not deferring the main scripts is it possible to defer the inline scripts that come after?
Thanks!
My host upgraded to PHP 8 and this plugin caused critical error. I had to disable since it isn’t compatible.
]]>