WordPress.org

Ready to get started?Download WordPress

Forums

AssetsMinify
[resolved] RuntimeException: "Source file does not exist" (2 posts)

  1. Gabor Javorszky
    Member
    Posted 1 year ago #

    Hi!

    Upon activating the plugin, this is what happens:

    <b>Fatal error:</b>  Uncaught exception 'RuntimeException' with message 'The source file "/home/clients/public_html/some-client/staging2/some-client/staging2/wp-content/plugins/wordpress-seo/css/adminbar.css" does not exist.' in /home/clients/public_html/some-client/staging2/wp-content/plugins/assetsminify/lib/Assetic/Asset/FileAsset.php:62
    Stack trace:
    #0 /home/clients/public_html/some-client/staging2/wp-content/plugins/assetsminify/lib/Assetic/Asset/BaseAsset.php(99): Assetic\Asset\FileAsset->load()
    #1 /home/clients/public_html/some-client/staging2/wp-content/plugins/assetsminify/lib/Assetic/Asset/AssetCollection.php(144): Assetic\Asset\BaseAsset->dump(NULL)
    #2 /home/clients/public_html/some-client/staging2/wp-content/plugins/assetsminify/AssetsMinifyInit.php(269): Assetic\Asset\AssetCollection->dump()
    #3 /home/clients/public_html/some-client/staging2/wp-content/plugins/assetsminify/AssetsMinifyInit.php(173): AssetsMinifyInit->generateCss()
    #4 [internal function]: AssetsMinifyInit->headerServe('')
    #5 /home/clients in <b>/home/clients/public_html/some-client/staging2/wp-content/plugins/assetsminify/lib/Assetic/Asset/FileAsset.php</b> on line <b>62</b><br />

    WordPress is in its own folder (homeurl and siteurl are different), and this bit: public_html/some-client/staging2/some-client/staging2 is wrong, as the some-client/staging2 is doubled for some reason.

    What other information do you need from me to help?

    http://wordpress.org/extend/plugins/assetsminify/

  2. Alessandro Carbone
    Member
    Plugin Author

    Posted 1 year ago #

    Hello, the issue about the duplicated path-block is very strange.
    I've just updated the plugin so you can now retry.
    The fatal error should be prevented.
    Let me know about it.
    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic