WordPress.org

Support

Support » Plugins and Hacks » Dependency Minification » [Resolved] Not working Purge and Expire options

[Resolved] Not working Purge and Expire options

Viewing 11 replies - 1 through 11 (of 11 total)
  • My wordpress installation when this occurs is configured like this:
    WordPress Address (URL): http://demo4.csshover.pl/wordpress
    Site Address (URL): http://demo4.csshover.pl
    Maybe this has any effect on plugin.

    I have tested this again on other wordpress installation(same server) where both above values are the same, but then I faced such issue

    When doing Purge or Expire I see warning:

    Warning: Invalid argument supplied for foreach() in /home/apollo13/ftp/dev/superior/wp-content/plugins/dependency-minification/dependency-minification.php on line 221

    Dumping of $_REQUEST[‘depmin_option_name’] showed
    string(45) "depmin_cache_bbc185969f89a8de4096315ba8109617"

    dependency-minification.php on line 221
    foreach ( $_REQUEST['depmin_option_name'] as $option_name ) {
    changing to
    foreach ( (array)$_REQUEST['depmin_option_name'] as $option_name ) {
    Casting to array saves the day:-)

    5. After few refreshes I could see alert message once again.

    Now I can’t see alert any more. So hard to say what happened since I posted this. Still Purge or Expire actions does nothing.

    With regards.

    Plugin Author Weston Ruter

    @westonruter

    Do you have other caching plugins installed?

    Nope I don’t have. As I advice on my forum I switched off every plugin before reporting any issue 🙂

    If you need I will gave you access so you could test by your self.

    With regards.

    Plugin Contributor lkraav

    @lkraav

    Weston, this report is real, seeing the same thing.

    FWIW I’m seeing this on PHP 5.2 right now. Haven’t investigated on 5.5.

    Plugin Author Weston Ruter

    @westonruter

    ikraav: if you can get to the bottom of it, that would be awesome. I’ve got a lot on my plate right now with other projects and won’t have a chance to look a this for a few days.

    Plugin Contributor lkraav

    @lkraav

    Not likely. Had to get strpos based exclude working for this one project and that’s about all I got for this at the moment.

    But no worries, this is the one minification plugin I care about, since looking at the code of all the others mostly makes you want to throw up. We’ll get to it all soon enough, 100% guaranteed.

    Plugin Author Weston Ruter

    @westonruter

    Sorry for the delay on this thread. Is there still an issue here with the latest version of Dependency Minification?

    Checked this with version 0.9.7 and still single Expire or Purge does nothing. Mass Purge only helps.
    It is strange that I am only having such issues.
    I would debug it, but now I have to put all my time to finish deadline, so I can only give you access to it via WP and FTP if needed.

    With regards.

    Plugin Author Weston Ruter

    @westonruter

    @air: I’ve just released v0.9.8 of the plugin, and this includes a fix for the broken Purge and Expire links.

    For the curious, this is what the fix involved:
    https://github.com/x-team/wp-dependency-minification/commit/4fbe1b1bc387117701e138fd5d435e7b6de6e0bc

    Yes this works now for me:-)

    Nice, good job.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Not working Purge and Expire options’ is closed to new replies.
Skip to toolbar