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.

Comments

chrisparsons’s picture

StatusFileSize
new778 bytes

Patch file.

chrisparsons’s picture

Status: Active » Needs review

Sorry, was checking up on what I sent out last week and realised I didn't set to NR. My apologies!

juhaniemi’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new778 bytes

Updated 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.

stephthegeek’s picture

Status: Reviewed & tested by the community » Fixed

This 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!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.