The following error message appeared after a recent upgrade on one of our sites -

There are currently no style types available to add. You should enable a module that utilizes them, such as Panels.

This error message does not tell the user what a style type is, or why they might want to add it, or what good enabling Panels will do for the situation.

I suggest it be rewritten to alert the user (1) which module is raising the alert (2) what the purpose of enabling a module like Panels is (other than making the error message go away).

I don't understand the purpose of Stylizer myself, but I'd suggest wording along these lines as a starting point -

"Stylizer module cannot find any Style types to add; you may need to enable a module which provides Style types, such as Panels, before Stylizer module will be able to ... "

Disabling Stylizer seems to have worked for us (I have no idea how it got enabled).

Comments

merlinofchaos’s picture

Status: Active » Fixed

That error message isn't cryptic when it shows up where it's supposed to. But due to a bug it was showing up in places where it is not supposed to. I moved the message; it should now only show up when you go to the stylizer UI to list styles.

mos2710’s picture

Hi,

I am still getting this message whenever I run update.php and more.

Mos2710

merlinofchaos’s picture

By 'still' do you mean you're running the latest -dev?

Status: Fixed » Closed (fixed)

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

mgifford’s picture

Any idea when the next stable release of ctools will be? I'd rather not run the -dev version on a production site.

Thanks Merlin!

mghatiya’s picture

I am having this issue too. And yes, as someone mentioned, I also ran update.php recently.

drupal-ite’s picture

I was able to find a solution here: http://drupal.org/node/867340 Point #8