Hi @MB Themes
Thank you very much for giving me direction. Do you have an idea where I can check the "osc_base_path()"? That's a clean install btw.
The other weird thing is that "osc_current_web_theme_js_url" works just fine. I have all the JS files but images and CSS are missing.
Aren't both "osc_current_web_theme_js_url" and "osc_current_web_theme_url" rely on "osc_base_path()" to generate the paths to the assets if I'm getting it right?
EDIT:
OK. Think I found the problem. In WebThemes.php inside the function "setCurrentThemeUrl" the str_replace(osc_base_path(), '' function was missing / between the single quotes.
See below:
public function setCurrentThemeUrl()
{
if ($this->theme_exists) {
$this->theme_url = osc_apply_filter('theme_url', osc_base_url() . str_replace(osc_base_path(), '/', $this->theme_path));
} else {
$this->theme_url = osc_apply_filter('theme_url', osc_base_url() . OC_INCLUDES_FOLDER . '/osclass/gui/');
}
}
Now it works. Is this plausible explanation in your opinion? Can I keep it like this?
Thanks for your support again. I highly appreciate it!