Support » Plugin: Dependency Minification » not minifying — Scheduled immediate single event (via wp-cron)

  • It appears that even after ‘minification’ occurs (I can see compression information for various assets and that no assets are in a pending state the assets are still to-be-minified on the site) things are still not being delivered in a minified format.

    Furthermore, some assets do not have the correct link being sent out:

    <link rel='stylesheet' id='minified-5-css' href='http://www.example.local_minify/jquery-ui-autocomplete.1cc2eae98d66555a23f25a2535d31c50.a8cf63fecab3eb3edf6760bc02f258a6.css' type='text/css' media='all' />

    Note that the href has http://www.example.local_minify/etc and should read http://www.example.local/_minify/etc

    Some other interesting tidbits that may/may-not be related:

    — in view source (hits home page)

    <!--
    DEPENDENCY MINIFICATION
    Scheduled immediate single event (via wp-cron) to minify the following:
     - 01. /wp-includes/css/dashicons.min.css
     - 02. /wp-includes/css/admin-bar.min.css
     - 03. http://www.example.local/wp-content/plugins/special-recent-posts/assets/css/css-front.css
     - 04. http://www.example.local/wp-content/plugins/example/css/admin_bar.css
     - 05. http://www.example.local/wp-content/plugins/wordpress-seo/css/adminbar.css
     - 06. http://www.example.local/wp-content/plugins/flexslider-hg/css/flexslider.css
     - 07. http://www.example.local/wp-content/themes/exampleParentTheme/css/vehicle-styles/honda.css
    -->
    
    <!--
    DEPENDENCY MINIFICATION
    Scheduled immediate single event (via wp-cron) to minify the following:
     - 01. http://www.example.local/wp-content/themes/exampleParentTheme/includes/css/odometer-theme-train-station.css
     - 02. http://www.example.local/wp-content/themes/exampleParentTheme/includes/css/bootstrap3.min.css
     - 03. http://www.example.local/wp-content/themes/exampleParentTheme/includes/js/jcarousel/skins/plain/skin.css
     - 04. http://www.example.local/wp-content/themes/examplechildTheme/css/style.css
     - 05. http://www.example.local/wp-content/themes/exampleParentTheme/css/print.css
     - 06. http://www.example.local/wp-content/themes/exampleParentTheme/includes/js/fancybox/source/jquery.fancybox.css
     - 07. http://www.example.local/wp-content/themes/exampleParentTheme/includes/css/jquery.sidr.dark.css
    -->
    <br />
    <b>Warning</b>:  Illegal string offset 'expires' in <b>E:\Bitbucket\example\example-core\child-inspire\wp-content\plugins\dependency-minification\dependency-minification.php</b> on line <b>611</b><br />
    
    <!--
    DEPENDENCY MINIFICATION
    Scheduled immediate single event (via wp-cron) to minify the following:
     - 01. http://www.example.local/wp-content/themes/exampleParentTheme/includes/respond/static/respond.proxy.gif
     - 02. http://www.example.local/wp-content/themes/exampleParentTheme/includes/respond/respond-proxy.html
    -->

    — in Admin -> Tools -> Dep. Minification

    Warning: array_merge(): Argument #1 is not an array in E:\Bitbucket\example\example-core\example-site\wp-content\plugins\dependency-minification\dependency-minification.php on line 320

    Warning: array_merge(): Argument #1 is not an array in E:\Bitbucket\example\example-core\example-site\wp-content\plugins\dependency-minification\dependency-minification.php on line 320

    Warning: array_merge(): Argument #1 is not an array in E:\Bitbucket\example\example-core\example-site\wp-content\plugins\dependency-minification\dependency-minification.php on line 320

    Warning: extract() expects parameter 1 to be array, null given in E:\Bitbucket\example\example-core\example-site\wp-content\plugins\dependency-minification\dependency-minification.php on line 372

    https://wordpress.org/plugins/dependency-minification/

  • The topic ‘not minifying — Scheduled immediate single event (via wp-cron)’ is closed to new replies.