Problem/Motivation

Did a new clone of D8 and got the latest dev of adaptive theme. Enabled at_core then clicked on settings button. Got error msg:

Fatal error: Class 'Xss' not found in /Users/rocks/Sites/drupal8/themes/adaptivetheme/at_core/forms/help_core.php on line 21

Haven't any old versions of adaptive theme so can't check what may have changed since I couldn't find this error in your issue queue.

Proposed resolution

Added

use Drupal\Component\Utility\Xss;

to ../forms/help.core.php and error went away.

Comments

dcrocks’s picture

Issue summary: View changes
Jeff Burnz’s picture

Yep, I have fixed this in head, but I have to check if I pushed the commit or not, if not I'll see if I can push in the next day or so - its been hard to chase Drupal 8 head with all the changes and that one caught me out to be honest, I got stung by it also, lol, I mean with the change to use Xss::filterAdmin(), I may have searched replaced and forgot to add the use statement in some files, so better check again before pushing because there are other same sanity checks in different extensions and files etc.

mbrett5062’s picture

Yes, this is still not in help.core.php as of 8.x-1.x-dev 2014-May-07. I guess Jeff is very, very busy at the moment. A simple enough fix for now. On the look out for any more.

By the way, Jeff, thanks for all your hard work in getting this as far as you have, it looks great so far.

Jeff Burnz’s picture

OK, I'll try to find some time to push the changes, yes I have been really busy with family commitments, sorry, very little time these past three weeks or so for much else at all.

Jeff Burnz’s picture

Status: Active » Fixed

This is now fixed, AT Core now has no settings and I have abstracted out the theme generator into a separate theme (may become a module in the future).

Status: Fixed » Closed (fixed)

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