Thread Starter
NicMic
(@nicmic)
Oops, on another site it’s lines 238 & 247
On a third site everyhting works fine.
Thread Starter
NicMic
(@nicmic)
Oh, 4th site, strange behaviour :
the :
<script type=”text/javascript”>
asyncScripts = […]
block gets added in the source page BEFORE the head, and as a result, no styles are loaded.
Thread Starter
NicMic
(@nicmic)
(That last one looks like it’s caused by PHP Output Buffering)
Thread Starter
NicMic
(@nicmic)
It is in fact a problem caused by an incompatibility with the “force title rewrite” in WordPress SEO.
Plugin Author
dmikam
(@dmikam)
Yes it, looks like it conflicts with buffering because it also uses buffering to detect scripts included directly into wp_foot (not with wp_enqueue_script).
I’m planning to include an option to disable this detection and so avoud this type of conflicts.
Thanks for information.
In two days or so I’ll publish new version with this option and some others.
Plugin Author
dmikam
(@dmikam)
Just have released a new version with options to disable scanning wp_head and wp_footer (they both use output buffering).
Some other options added too.
Thread Starter
NicMic
(@nicmic)
Thanks, nice options 😀
However I still get :
Warning: Invalid argument supplied for foreach() in /home/www1/wp-content/plugins/async-js-and-css/functions.php on line 178
Warning: Invalid argument supplied for foreach() in /home/www1/wp-content/plugins/async-js-and-css/functions.php on line 187
Plugin Author
dmikam
(@dmikam)
Now they are removed 🙂
New version.
Plugin Author
dmikam
(@dmikam)
Thank you !
Marked as resolved.
Thread Starter
NicMic
(@nicmic)
No no, thank YOU 🙂
Do you maybe have a donations page?
Plugin Author
dmikam
(@dmikam)
🙂
There is a donation link “Donate to this plugin »” on the plugin’s page: http://wordpress.org/plugins/async-js-and-css/ . It is on the right sidebar.