• Resolved lkafrazier

    (@lkafrazier)


    Hello, I’ve been using this plugin for about 6 months and everything was working great, but all of a sudden anytime I load new images and try to compress them, I’m getting this error code:

    Failed with error code invalid_file_path – The linked attachment ID does not have a valid file path.

    I’m completely confused on why this would be happening since it was working perfectly and then one day it wasn’t. My files are all done the exact same way that I’ve always created them for images.

    Can anyone help me trouble shoot? My website is hosted by GoDaddy if that helps.

    Kind regards!

Viewing 6 replies - 1 through 6 (of 6 total)
  • @lkafrazier Could you please try to refresh the image list and then try to compress the images from WP-Optimize > Images and check if the compression works?

    Thread Starter lkafrazier

    (@lkafrazier)

    The images I loaded to the media library aren’t even showing up in the uncompressed images list in WP-Optimize.

    When I click on the log….it’s just a very long list of all the images I loaded but with : could not find file for imgage ID and the ID number.

    • This reply was modified 3 years, 6 months ago by lkafrazier.

    @lkafrazier If you have the option enabled “Compress images when upload” then the images won’t show in the uncompressed list as its already compressed.

    Thread Starter lkafrazier

    (@lkafrazier)

    But they aren’t compressed. When I go to the media library, once compressed it will show me there that they are compressed as well. If they are compressed, then I have the option to restore the original. (All files prior to the past few weeks are all like this…compressed and I can restore original). All the latest files I’ve uploaded….give me the option to compress them only….no restore option. None of the images I’ve loaded the last few weeks show compressed. And when I click on the compress button, I get the error message from the media library as well. Both from the media library AND within the plugin itself….the images are not compressed. The file log from WP-Optimize even shows me a list of files….and every single image that I’ve loaded all reads with this error message. It’s literally just not working. As I mentioned, I’m not new to the plugin….I’m familiar with it….I just can’t explain why every file is now throwing this error message.

    @lkafrazier Have you performed a conflict test yet?

    Try deactivating all plugins except for WP-Optimize and see if it is resolved.

    If so, reactivate each plugin one at a time until you find the culprit. You can check for the issue between activating each plugin, so you can see which one is causing problems.

    Please let us know your findings.

    Thread Starter lkafrazier

    (@lkafrazier)

    It appears it’s a conflict with Optimole Plugin….which used to never happen….apparently they give each image a new URL so they can be held on their server and that new image URL is making it to where WP Optimize isn’t recognizing them any longer.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Failed with error code invalid file path?’ is closed to new replies.