Installed the views 7.x-3.x-dev version and ran it with a Fusion subtheme. Enabled one of the default views and attempted to view the public-facing page. This error displayed:
Fatal error: Call to undefined function views_css_safe() in .../fusion/fusion_core/template.php on line 229
Views 3 looks to be using drupal_clean_css_identifier instead. I replaced the functions (it seems that's the only place it's referenced in Fusion) and everything seems to work as expected. Patch to follow fixing this bug.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fusion-views-css-safe-896352-2.patch | 778 bytes | juhaniemi |
| #1 | fusion-views-css-safe-896352-1.patch | 778 bytes | chrisparsons |
Comments
Comment #1
chrisparsons commentedPatch file.
Comment #2
chrisparsons commentedSorry, was checking up on what I sent out last week and realised I didn't set to NR. My apologies!
Comment #3
juhaniemi commentedUpdated patch to latest dev version. Seems to work.
EDIT: There weren't actually any changes in the patch besides some dates. #1 is tested and working.
Comment #4
stephthegeek commentedThis is fixed in the dev release (which currently has the wrong date displaying but is the correct, updated files), along with now using the correct variable to get the view type as a CSS class. Thanks!