• Hello,

    I need help on my website, flagged by Google for minification opportunity, just found this error on one of the merged js files. Because they are not minified.
    COMPRESSING WITH MINIFY (PHP exec not available or java not found)

    Although my problem is that it is only happening on the 4th merged js file, the first 3 js files were minified properly. So it doesnt have something to do with hosting probably if it can minify the first 3 set of merged js files, as seen on this screenshot
    https://linkpicture.com/q/weawdaud.png

    So, the solution I am thinking are:

    1. First, since it may have something to do with wordfence security plugin. May i ask what is the exact parameter that MMR is using to minify so I could include it on whitelisted urls or action of wordfence.

    2. Second option, if it hasnt something to do with Wordfence, what i observed is that it got stucked minifying the 4th merged file, is there a way for the plugin to continue to other set of the merged files if one file cannot be minified? I think the plugin is still trying to minify repeatedly the 4th merged file before it proceeds with the next one. Probably there is a forbidden file mixed with the 4th set. It gets stucked in a loop and misses the chance to minify other files that are still minifyable. So is there a way it could skip it and proceed with the 5th file and the rest?

    • This topic was modified 4 years, 2 months ago by bmwebcorp.
    • This topic was modified 4 years, 2 months ago by bmwebcorp.
Viewing 1 replies (of 1 total)
  • Plugin Author launchinteractive

    (@launchinteractive)

    Hi James,

    How many javascript files is MMR trying to minify? I’m guessing that its taking too long and the hosting is killing the process. To work around this you could potentially change WordPress cron to use real crons.

    1. Wordfence could be killing long running processes. I don’t know the exact parameters as MMR is using the standard wordpress cron. I would try disabling Wordfence first and see if thats causing it.

    2. If you add the 4th file url into the ignore list then that will split the rest of the files into a new group to minify.

Viewing 1 replies (of 1 total)
  • The topic ‘Other files not minified’ is closed to new replies.