Hi,
I enjoy this plugin but I do not see my update activity – is this plugin going to be maintained in the future?
Also, single pages – I cannot create edits on my home page because the Permalink is just https://www.designwerks.net
I did not want to use “home” in the URL and if this is changed it will nullify the existing SEO for this page.
Is there a possible solution?
Thank you for your prompt reply!!
]]>I get this bugs:
Notice: Undefined index: page in /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php:96) in /wp-includes/functions.php on line 6221
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php:96) in /wp-admin/includes/misc.php on line 1259
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php:96) in /wp-includes/pluggable.php on line 1281
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php:96) in /wp-includes/pluggable.php on line 1284
Can you help me there?
Thanks,
Martina
Hi, Love your plugin and baffled
I use the same plugin for three different sites.
I cloned the website over to WPengine
Installed your plugin, clicked the build list, A pop up error of “An Error is occured: 0 error”
No list of scripts get built
link of error below
]]>
Thanks for your very good plugin! I have some load conditions per pages and posts set up in the plugin. When the plugin is disabled, the content from pages doesn’t want to show up. I have tried to load all css and scripts with no conditions and disable the plugin after, but the content doesn’t show anyway. What is the right way to disable or delete the plugin without breaking the content? Thanks for your help and prompt reply!
Alex
Hello,
I have just come across your plugin which seems very useful and the comments are also very positive. I would love to install it and even donate but just a little confused. The last update was 2 years ago, would you be updating the plugin in the future?
Hi, I am having an issue with your plugin – it is changing JQuery library from patched 1.12.4-wp to unpatched 1.12.4
]]>Hi,
First of all; This plugin is AWESOME. I’ve been using this plugin to disable the sheer amount of .css and .js files all the plugins bring that i installed.
When I open the error_log for my site however, I keep seeing this error:
Parameter must be an array or an object that implements Countable in /var/www/vhosts/xxxx.xx/httpdocs/wp-content/plugins/wp-script-optimizer/classes/conditions.class.php on line 631\nPHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/xxxx.xx/httpdocs/wp-content/plugins/wp-script-optimizer/classes/conditions.class.php on line 631
—
After some Google’ing I found this thread:
https://core.trac.www.ads-software.com/ticket/42814
I’m indeed using PHP 7.2. Is it possible to get this fixed?
Thanks in advance!
]]>Hi,
The CSS files need to load in <head> section instead of footer. How do I achieve that with this plugin?
Kind regards,
Yunis
]]>Hello we’re getting this error:
Warning: count(): Parameter must be an array or an object that implements Countable in …/wp-content/plugins/wp-script-optimizer/classes/conditions.class.php on line 631
Running PHP 7.2 on WP Engine
WordPress 5.0.1
Genesis framework 2.7.2
WP Scripts & Styles Optimizer Version 0.4.5
All themes, plugins, core updated to latest versions
Hi
Thanks for all the effort invested in writing this Plugin. I was wondering what it means when you have the Red that says “Requires”.. Does that mean it’s safe to deactivate or move to the footer?
Thanks
Full notice:
PHP Notice: Undefined index: page in wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
Recommend revision (to reduce log spam) of wp-script-optimizer.php:96 from:
self::$page_handle = sanitize_key( $_GET[‘page’] );
… to:
$page = ( isset( $_GET[‘page’] )
? $_GET[‘page’]
: null;
self::$page_handle = sanitize_key( $page );
Hi, WP Scripts & Styles Optimizer plugin conflicts with Elementor page builder plugin. If this plugin is activated Elementor will not start.
https://docs.elementor.com/article/189-having-problems-using-elementor-start-here
BR/Inge
]]>Hi Hendrick,
The WP Scripts & Styles Optimizer plugin has proven itself and is invaluable tool to help with conflicts and page load speed on our agency website.
I havew one suggestion:
I would like to see a feature that would allow the user to save configurations in a selectable “Sets” format. This is useful because testing for problems will change the current setup and there is not “set back” utility to use.
Also, using the set a user can Export the settings to a file and keep secure locally as a backup. Lastly, the “set” could be imported on another WP website saving some time.
I realize this is a lot to ask from a “free” plugin. However, I have tested several like yours and your plugin is far superior!
Many thanks for your great work.
Kevin
]]>Hi. When active i found this:
The plugin generated 174 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
PHP Notice: Undefined index: page in /home/….wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 96
How to fix this please?
]]>Hi.
Thank for great idea plugin.
1) I would like to get more easier understand and manager for add some more css and text as screenshot, can you please update in soon time?
Red is disabled
Green is condition
Can you update more color for green? here is example how it work
+ green : general condition
+ pink : posts condition
+ yellow : page condition
+ blue: User condition
2) Size right behide version, so i don’t need to go back cpanel to check how heavy of each file
genericons [ver. 3.4.1] size 8kb
3) All condition, by defaul hidden “filter button”
Can you allow button “expand all” , so when check all setting, i just used eyes all in one, without hard handy job “expand” one by one to check my setting if correct.
After all done click this button again “close expand” go back defaul.
BUG report!
Step 1: Before use your plugin i used PHP code to move js to footer, after use your plugin i delete it
Step 2: I used move all file in JS to footer, then my web broken.
Step 3: I wonder, Is this moving not work similar php code request all JS load in footer?
Hope to hear from you soon.
Thanks
Hi there:
Something is up with the way this plugin interacts with my theme. I realize it may not be your fault. However, for the life of me I can’t seem to get to the bottom of why there may be a conflict. I’m hoping you may be able to shed a bit of light to help me out?
Description of the situation and steps to reproduce:
I tried setting up a debug log file using these instructions: https://codex.www.ads-software.com/Debugging_in_WordPress
–> No debug file is generated when I try to reproduce this issue, which makes it hard for me to find the problem. Does that mean no official error?
It must be in the theme, but I don’t even know where to look or what to test. Have you encountered this before? Any clues as to why it would do this?
I’d be happy to share a link or screenshots if it can be done so privately?
Thank you so much for your help.
]]>Hey,
Why I tried this plugin? Because I wanted to keep TOC css in the footer, and no reason. But for one thing, I messed up with multiple things.
1. I want that this plugin shouldn’t bother to show core admin script. Else, there should be a one click filter to hide it. Indeed, it forced me to set user level for core script, which I think it should do self.
2. Another issue, I was just trying to keep jQuery in the head, but I don’t had need of jQuery migrate. So, I already removed it via functions.php but this plugin still load jQuery migrate which was not present before. Hence, this is a bug.
Rest all, it’s awesome.
Thanks & Regards,
Gulshan
Hi there, any conditions I try to set up for any script or style doesn’t apply after saving. I’ve been clearing cache, put CDN in dev mode, and nothing is changing.
Is this a bug?
]]>Great product – many thanks.
I am trying to use the Single Page feature instead of Global.
Any type of entry generates an error that rejects the input.
What is the acceptable form used or has this feature been switch “off” for this version?
I look forward to your response!
]]>Url cannot be loaded or you have tried to check the front page – Statuscode: 200
Some script like contact form 7 unregister/no longer available still showing up? Any ideas?
]]>Hi,
I really liked your awesome plugin but when I try to use it with WPML installed websites, and filter some js/css (conditional) it applies it only default language, not on translated page.
Any recommendation for this problem?
Thanks
]]>Hi,
when using your plugin i got a problem with the js of my plugin. My Plugin have to handle ajax_calls and so i send the wp-nonce per wp_localize_script among some other things to the js.
wp_localize_script( 'mypluginajax', 'myplugin_ajax',
array(
'ajaxurl' => admin_url( 'admin-ajax.php' ),
'nonce' => wp_create_nonce('myplugin')
)
);
i figured out, that your plugin stores those infos in the database in the field ‘extra’ and deliver this out, when the webpage request the script.
this results in the behavior that the ajax calls to my plugin got an 403-error because the nonce isnt valid.
i set up a filter with your plugin that the script and style of my plugin loaded only at the specific page (not home)
is there a setting or a trick, where the ‘extra’ field will be updated or the wp_localize_script-output be used instead ?
im happy to hear from you, also you can email me for further info.
Greetings
Ralf J?hnrich
Hi,
First of all, I love your plugin. I’ve been using it lately and it really improves my site loading speed!
I’m changing my theme now into Genesis and I find something that breaks the functionality of the plugin and I need to fix it but I don’t know how.
The plugin works fine until the theme loads this script:
“<?php
/**
* Kickstart Pro
*
* @author Lean Themes
* @license GPL-2.0+
* @link https://demo.leanthemes.co/kickstart/
*/
add_action( ‘wp_head’, ‘kickstart_front_page_setup’ );
/**
* Add widget support for homepage. If no widgets active, display the default loop.
*
*/
function kickstart_front_page_setup() {
if ( is_active_sidebar( ‘home-top-slider’ ) || is_active_sidebar( ‘home-top’ ) || is_active_sidebar( ‘home-row1-top’ ) || is_active_sidebar( ‘home-row1-left’ ) || is_active_sidebar( ‘home-row1-right’ ) || is_active_sidebar( ‘home-row2’ ) || is_active_sidebar( ‘home-row3-left’ ) || is_active_sidebar( ‘home-top-row3-right1’ ) || is_active_sidebar( ‘home-top-row3-right2’ ) || is_active_sidebar( ‘home-row4’ ) || is_active_sidebar( ‘home-row5’ ) || is_active_sidebar( ‘home-top-row6’ ) || is_active_sidebar( ‘home-row7’ ) ) {
// Add front-page body class
add_filter( ‘body_class’, ‘kickstart_body_class’ );
function kickstart_body_class( $classes ) {
$classes[] = ‘front-page’;
return $classes;
}
// Force full-width-content layout setting
add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_full_width_content’ );
// Add homepage top area
add_action( ‘genesis_after_header’, ‘kickstart_homepage_top’ );
// Add homepage content area
remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
add_action( ‘genesis_loop’, ‘kickstart_homepage_widgets’ );
}
}
// Setup homepage top area
function kickstart_homepage_top() {
genesis_widget_area( ‘home-top-callout’, array(
‘before’ => ‘<div id=”home-top-callout” class=”home-top-callout widget-area”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
if ( is_active_sidebar( ‘home-top-slider’ ) ) {
genesis_widget_area( ‘home-top-slider’, array(
‘before’ => ‘<div id=”home-top-slider” class=”home-top-slider widget-area”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
}
else if ( is_active_sidebar( ‘home-top’ ) ) {
echo ‘<div class=”before-content”>’;
genesis_widget_area( ‘home-top’, array(
‘before’ => ‘<div id=”home-top” class=”home-top widget-area”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
echo ‘</div>’;
}
}
// Setup homepage content area
function kickstart_homepage_widgets() {
if ( is_active_sidebar( ‘home-top-news’ ) ) {
genesis_widget_area( ‘home-top-news’, array(
‘before’ => ‘<div id=”home-top-news” class=”home-top-news home-row widget-area”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
}
if ( is_active_sidebar( ‘home-row1-top’ ) ||
is_active_sidebar( ‘home-row1-left’ ) ||
is_active_sidebar( ‘home-row1-right’ ) ) {
echo ‘<div id=”home-row1″ class=”home-row1 home-row”>’;
echo ‘<div class=”wrap”>’;
genesis_widget_area( ‘home-row1-top’, array(
‘before’ => ‘<div id=”home-row1-top” class=”home-row1-top widget-area”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
genesis_widget_area( ‘home-row1-left’, array(
‘before’ => ‘<div id=”home-row1-left” class=”home-row1-left widget-area one-half first”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
genesis_widget_area( ‘home-row1-right’, array(
‘before’ => ‘<div id=”home-row1-right” class=”home-row1-right widget-area one-half”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
echo ‘</div>’;
echo ‘</div>’;
}
genesis_widget_area( ‘home-row2’, array(
‘before’ => ‘<div id=”home-row2″ class=”home-row2 home-row widget-area”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
if ( is_active_sidebar( ‘home-row3-left’ ) ||
is_active_sidebar( ‘home-row3-right1’ ) ||
is_active_sidebar( ‘home-row3-right2’ ) ) {
echo ‘<div id=”home-row3″ class=”home-row3 home-row”>’;
echo ‘<div class=”wrap”>’;
genesis_widget_area( ‘home-row3-left’, array(
‘before’ => ‘<div id=”home-row3-left” class=”home-row3-left widget-area one-half first”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
genesis_widget_area( ‘home-row3-right1’, array(
‘before’ => ‘<div id=”home-row3-right1″ class=”home-row3-right1 widget-area one-fourth”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
genesis_widget_area( ‘home-row3-right2’, array(
‘before’ => ‘<div id=”home-row3-right2″ class=”home-row3-right2 widget-area one-fourth”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
echo ‘</div>’;
echo ‘</div>’;
}
genesis_widget_area( ‘home-row4’, array(
‘before’ => ‘<div id=”home-row4″ class=”home-row4 home-row widget-area”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
genesis_widget_area( ‘home-row5’, array(
‘before’ => ‘<div id=”home-row5″ class=”home-row5 home-row widget-area”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
genesis_widget_area( ‘home-row6’, array(
‘before’ => ‘<div id=”home-row6″ class=”home-row6 home-row widget-area”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
genesis_widget_area( ‘lean-newsletter’, array(
‘before’ => ‘<div id=”lean-newsletter” class=”lean-newsletter home-row widget-area”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
genesis_widget_area( ‘home-row7’, array(
‘before’ => ‘<div id=”home-row7″ class=”home-row7 home-row widget-area”><div class=”wrap”>’,
‘after’ => ‘</div></div>’,
) );
}
genesis();”
When conditional widget areas are loaded, the plugin simply don’t work and all scripts and styles are loaded in the header.
Could you please help me with this? I really love your plugin and want to keep using it.
Thanks in advance.
]]>First of all, a big thank for such a useful & easy-to-use plugin. Really good job!
I would need some advice however.
On localhost (http), everything works like a charm.
On the live site (https), scripts & styles on the Global tab are retrieved and can be managed as expected. However, I’m unable to load any page-specific URL and constantly get a “Url cannot be loaded or you have tried to check the front page – Statuscode: 403” warning.
– I deactivated Wordfence -> no change
– Cleared browser cache and cookies -> no change
– Deleted htaccess -> no change
– All relevant page-specific directories/files permissions are set to respectively 755 and 644 on the server (had in fact only one more js file vs. global scripts list).
Would you please advice on what else should I check?
Many thanks for your help on that.
Adding bbpress and a few other plugins, and plugin stopped refreshing the list?
Help please
]]>Are there no updated features?
1. group the JS/CSS per plugin, may have to activate them ONE at a time.
2. Manual setting of load Order of each JS/CSS within the header and footer, JQUERY will most likely be top etc
3. Manual input boxes of JS/CSS (Dynamik and some themes may already do this, BUT it would be nice to have an all-in-one plugins that sets an extra JS and CSS with the custom codes
thanks
]]>I change the jquery adress with google library one. However, when I use your plugin it does not detect it and replaced it with the original one. Can you make some improvement for that?
Thanks for the great plugin by the way.
Hello!
Your plugin works really fine – thanks a lot for your work! I combined it with Autoptimize & WP Speed of light and get great results. This beats a lot of other (commercial) plugins – and I really tried a lot of other solutions…
Just one thing: BuddyPress generates pages that don′t have any “physical” pages (the ones you find in /wp-admin/edit.php?post_type=page). So there′s no way to select this pages in WP Scripts & Styles Optimizer. I′m using Geo my WP so users can add their location on an extra tab in the BuddyPress profile settings. Now I noticed the Google Map does not display there because I filtered the Google Maps API JS. Unfortunately there is no way to add this virtual page to the filter (even tried all other options).
Do you have any plans to add an url-based filter?
E.x.: From this url https://domain.com/community/search/test02/location/ a filter that searches for “/location/” could add the JS in this case.
Just a wish: A user-state-filter for “user logged in” or “user logged out” would help, too.
Keep on the great work!
Jan
hey,
i’m getting this error:
###
Plugin could not be activated because it triggered a fatal error.
Warning: require_once(/home/xxx/public_html/wp-content/plugins/dashboard/classes/list.class.php): failed to open stream: No such file or directory in /home/webmedia/public_html/wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 1261
Fatal error: require_once(): Failed opening required ‘/home/xxx/public_html/wp-content/plugins/dashboard/classes/list.class.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/webmedia/public_html/wp-content/plugins/wp-script-optimizer/wp-script-optimizer.php on line 1261
###
i researched for an hour and couldn’t find a solution anywhere.
also deactivated various plugins to see if there was a conflict but no joy.
i’m on wp 4.7.1 and php 5.5.38
]]>I′ve tried to use your plugin to speed up a community site that uses BuddyPress & RT Media. But very time after loading the scripts & styles (button “Hole/Aktualisiere globale Skripte & Styles”) the file picker button for uploading new pictures (on the frontend) gets brocken. The mouse points correctly this is a button but when clicking it no file picker box is being opened.
Compared the code with and without the plugin being enabled and it seems some parts of the html get lost – don′t know exactly what causes the problem. Saved both as html-files and can send them to you if you like.
Any idea how to debug this?
]]>