I’m getting this Notice repeatedly on my Drupal Commerce site, in various places. Not sure though exactly what is triggering the notice. This Notice is:
Notice: Undefined property: stdClass::$dir in omega_css_alter() (line 276 of /home/lovetrib/public_html/sites/all/themes/omega/omega/template.php).
And the line #276 in the Omega template file is
$pattern = $GLOBALS['language']->dir == 'rtl' ? '/\.no-query(-rtl)?\.css$/' : '/\.no-query\.css$/';
I believe it’s looking for a no-query.css file….?
To remedy I put a file named
omega.no-query.css in the css folder. Since Omega is a base theme there is also a
mytheme.no-query.css file in my theme’s css folder.
Can someone explain precisely what that line is doing and how to fix?