Hopefully Helpful
-
…first of all to the developer(s), thank you, great plugin.
I had an issue with the plugin I was able to correct. Without going into great detail, the CSS generated by the plugin never got applied to the website.
I tracked down the issue to the fact the plugin was not creating or not able to create the /wp-content/uploads/custom-css-js Directory. Permissions issue? Nope, all good. wp-config.php, .htaccess, child theme, and any other customization issues, nope, nothing interfering. Plugin conflict? Tried disabling them in small groups and nothing corrected the issue. Anything in the Apache Error Logs, PHP Logs, etc. Nope, no errors or anything else out of the ordinary. Different PHP versions (7.1.x, 7.2.x, 7.3.x, 7.4.x), nope, no help there (using REMI and some Apache directives, I can switch PHP versions for a website in a couple of seconds)
I even went to the brief trouble of setting up a virgin WordPress Site (5.6.2). And then using UpDraft, backed up the main site, and restored it on the virgin site. It didn’t help as the problem continued.
Solution? Disable ALL plugins (except for Simple Custom CSS and JS / SCCJ), created a new CSS Code and saved it. And SCCJ worked. The custom-css-js directory was created with the first CSS created and an index.php file was created (<?php // Silence is golden. were the only two directives in the file). Then all other plugins were re-enabled. And Simple Custom CSS and JS continued to function and was able to create additional CSS files. Good to go!
That’s a really odd Plugin Interference issue. The website this occured on was running two potential plugin culprits, WP Security and WordFence. But previously those plugins had individually been deactivated by themselves and it didn’t help (then, as mentioned, others were deactivated in small groups). It was only when ALL plugins were deactivated that SCCJ was able to create the directory it needs to store files in.
I did have a very helpful Plugin to diagnose the issues. Wicked Folders. That plugin allows one to create a folder hierarchy for pages, posts, plugins, etc on the WP Admin site. That means, because I keep things organized in different folders and groupings, I was able to disable plugins in an organized fashion. Oh, and I’m not affiliated with Wicked Folders. But it is a nice admin plugin.
I’m not sure if this is at all helpful to the developers. Maybe my situation was very unique. But if anyone else has a similar issue, perhaps this solution will help.
- The topic ‘Hopefully Helpful’ is closed to new replies.