|Reported by:||shinsou||Owned by:|
Let's say you're using a theme which uses a function called "maybe_add_widgets()".
Let's say you have two versions of that theme with "maybe_add_widgets()"; version 1 and version 2.
Now, just for the sake of it, let's say that version 2 has a style.php which contains all of style.css' data but is a bit dynamic AND that the style.php is loaded as the main style sheet (and not style.css).
To add to it, the style.php also loads the wp-config.php just so that it can carry out variables saved in some sort of settings.
Now, if you were to activate version 1 and then try to preview version 2, the CSS of that file will return a "You cannot redeclare maybe_add_widgets in line blah blah blah". How do you stop that error?