• Resolved swinggraphics

    (@swinggraphics)


    Warning: file_get_contents(/public_html/wordpress/wordpress/wp-content/plugins/paid-memberships-pro/css/frontend.css): failed to open stream: No such file or directory in /public_html/wordpress/wp-content/plugins/merge-minify-refresh/merge-minify-refresh.php on line 825

    When I load a page, I get warning like this for every CSS and JS file. The files BWP Minify creates are empty.

    The problem is it is trying to access files under “/wordpress/wordpress/”

    https://ww.wp.xz.cn/plugins/bwp-minify/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Khang Minh

    (@oddoneout)

    Hmm that warning is coming from the Merge Minify Refresh plugin. Could you please recheck?

    There is currently a bug regarding installing WordPress in its own directory though, but only for a multisite installation.

    Thread Starter swinggraphics

    (@swinggraphics)

    Yes, it does this every time. I edited the plugin to get it to work.

    $path = $this->root.$script_path['path'];
    $path = preg_replace( '#wordpress/wordpress#', 'wordpress', $path );
    $contents = file_get_contents( $path );

    and similar for the other 3 places.

    Plugin Author Khang Minh

    (@oddoneout)

    Are you using this one: https://ww.wp.xz.cn/plugins/merge-minify-refresh/ ? That plugin has nothing to do with BWP Minify, can you try disabling it first?

    Thread Starter swinggraphics

    (@swinggraphics)

    Yeah, I am. Like the other thread, I’m closing this one because I’m not doing a good job paying attention to which forum I’m in after trying out a few similar plugins. Cheers. Sorry!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Generates blank/empty files; file_get_contents errors’ is closed to new replies.