Fatal error: Call to a member function get_queried_object_id() on a non-object in /home/u6816/public_html/__mydomain.com/__site/wp-content/plugins/uploads-folder/uploads-folder.php on line 56
]]>After the plugin, nothing happens when I’m uploading new media (photos in this case). The files are uploaded correctly, but in the original folders, not under the date/post name folder that this plugin is supposed to do. No error messages or warnings are generated in the server logs.
]]>This is great plugin, and I’ve been using it for a couple of years.
A client of mine has managed to break this plugin, well the workflow at least. Here’s how it can be reproduced:
1. Create a post, insert images. Save the post as draft.
2. Rename the post save as draft
3. Come back to the post a day later, and publish. Broken links, and an angry client.
Sounds like it could be a bit of work to fix this plugin as it would need to magically fix the links in the post content. Some kind of preg_replace could do it.
Simon.
]]>