I just finished creating many custom post type plugins for our humble New Leaf Journal (more news on this to come in the near future). I wrote the php file for each plugin and then put that file in a folder. I then uploaded the folders to our plugins directory on our web server. I only had an issue with one plugin — my new Newsletter Leaf Journal custom post type. For whatever reason, I could not upload the folder. I changed the name so that it no longer had the word “newsletter” in the title and it worked. Interesting. (I also remembered to flush our rewrite rules.) What’s more, the plugin itself (the php file in the folder) had newsletter in the title, but my server only rejected the folder. I do use Cloudron — could that have been the issue?
@nafnljThat’s not a normal WordPress problem, but I’ve seen stranger stuff in WP sites.Are you able to rename it to what you originally had it now that it’s uploaded?
@morganestes I tested with an empty folder instead of the one I put the plugin in (no need to rename that one). Sure enough, can’t upload anything with “newsletter” in the name to my plugins directory, I was able to rename my empty test folder… but after renaming it to “newsletter-test”… I now can’t delete it or rename it. Strange. Maybe Cloudron or something with my VPS (Hetzner). Not a big deal but will still try to find a way to get rid of this empty folder…