Denis Ryabov
Forum Replies Created
-
What is the title of that widget and where is it located? How do you set it to be “only for mobile” (via @media query or somehow server-side)?
Do you mean “Your ad here” blocks?
Usually (but not necessary) WP’s tables have a common prefix (e.g. wp_options, wp_posts, etc., where arbitrary text may be used instead of “wp”), so I just tried to remind you to check exact table name in phpMyAdmin before truncating the table.
Run following command in phpMyAdmin:
TRUNCATE TABLE psninja_urls(don’t forget to prepend
psninja_urlswith your WP tables prefix).As to the issue, we have a draft code that strips query part of URL before storing in psninja_urls table (so your example URL is transformed into just
https://www.stuartwestmoreland.co.uk/), most likely it will be included into the next release after some testing.Anyway, you can safely truncate that table.
It’s not normal, and it looks like you have a lot of dynamically generated URLs for javascript or stylesheet files. Could you provide few examples of entries in that table?
Most likely, in one of next releases there will be an option to disable automatic URL collecting, but I’d like to get to know what plugin generates this kind of conflicts.
Do you have related error or warning messages in error_log file? And do you have this error with Safe preset as well?
If “Caching” option is enabled (see “Reduce server response time” section in Advanced settings tab), it does cache page content for better performance. You can either disable this option or clear page cache after changes in layout (see “Page Cache” in the “Troubleshooting” section).
Current logic related to advanced-cache.php in PageSpeed Ninja is the following:
1. During installation PageSpeed Ninja checks that advanced-cache.php exists and if it does exist the plugin disables “Caching” option automatically independently of chosen preset.
2. When user change “Caching” option manually or change preset to another one with recommended “Caching” enabled, advanced-cache.php may be overwritten by PageSpeed Ninja after saving settings.So, either you changed settings or preset in Advanced settings so that “Caching” become enabled (and advanced-cache.php overwritten), or you disabled WP Super Cache (that deleted advanced-cache.php), installed PageSpeed Ninja (that created new advanced-cache.php), and enabled WP Super Cache (that led to a conflict).
Anyway, I think that the issue should be solved by
1) disabling of WP Super Cache plugin (by renaming of its directory)
2) logging to admin and disabling of “Caching” option in PageSpeed Ninja Advanced settings (don’t forget to Save new settings)After that choose which page cache to use, WP Super Cache or PageSpeed Ninja, and enable either WP Super Cache plugin (by renaming its directory back to original name) or Caching in PageSpeed Ninja, but not both.
There is a missing slash in URL to cdn.shortpixel.ai. Try to disable “Minify URL” option in “Minify HTML” section of PageSpeed Ninja Advanced settings (it may be that your CDN plugin requires absolute URLs instead of relative ones). If it doesn’t change image rendering, please send list of your active plugins to hello@pagespeed.ninja.
What preset did you choose in plugin post-activation page? Do you have “Caching” option enabled in “Reduce server response time” section of Advanced settings tab? If yes, try to disable it.
PS. Just in case: uninstalling the plugin restores all optimized images to original state and removes all rescaled images.
Then there is another simple solution: just rename corresponding plugin’s directory (e.g. wp-super-cache to _wp-super-cache in wp-content/plugins directory).
As far as I know, the warning message you cited is generated by WP Super Cache. Are you sure it is disabled?
Currently PageSpeed Ninja doesn’t affect work of admin at all.
List of active plugins is stored in the “[wpprefixhere]_options” database table in the row with option_name=’active_plugins’, but it is in PHP serialization format and it is hard to edit it manually, but in extreme case you can try to replace it with
a:0:{}
to disable all plugins and access admin area.That message is generated by another plugin (not by PageSpeed Ninja). PageSpeed Ninja tries to create advanced-cache.php file if “Caching” settings is enabled in the “Reduce server response time” section of Advanced settings tab, so if you use another plugin for page caching, check that this setting is disabled.
Hmm, it’s quite strange behavior. Could you send your server information (at least webserver: Apache/Nginx/IIS/… and PHP mode: fastcgi/apache-module/cgi…) and list of active plugins on the site to hello@pagespeed.ninja (we will try to reproduce this issue)?