In line 124 of quicktags.module :

drupal_set_html_head(theme_stylesheet_import(base_path() . $stylesheet));

That's was for 4.7.x

The code should really be:

drupal_set_html_head(drupal_add_css($stylesheet));

CommentFileSizeAuthor
#3 quicktags.module.patch611 bytestcblack

Comments

reikiman’s picture

I had the above problem occur.. I made the recommended change .. the error goes away.

Now at the top of the page it prints 'Array Array Array' and I saw there's another issue for that.

jmai’s picture

This code should really be just:

drupal_add_css($stylesheet);

The other issue #200706 was created from this original fix above.

tcblack’s picture

Assigned: Unassigned » tcblack
StatusFileSize
new611 bytes

Uploading a proper patch per patch instructions.

tcblack’s picture

Status: Needs review » Reviewed & tested by the community

after reviewing the other related posts it appears this fix has already been tested and marked effective by a few others. Since it's broken as is I'm applying the patch to dev. If there are no further complaints I'll let someone else move this to fixed after a few days.

tcblack’s picture

This is fixed in 5.3

tcblack’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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