i have installed the font-face. I am getting the following error, on clicking "configure" button in the modules next to "user interface" and also while trying to import local fonts..

Fatal error: Unsupported operand types in C:\xampp\htdocs\drupal\includes\common.inc on line 818

Comments

Drave Robber’s picture

Status: Active » Closed (duplicate)

Background: that line belongs to drupal_http_request(). D7.16 added support for proxy servers there and unfortunately made the function more fragile to improperly formed $options array. (the relevant core commit is here in case someone's interested.)

The module which breaks because of this (and takes the whole configuration page down with it) is Fonts.com submodule - either disable it if you're planning to use local fonts or other providers, or apply the patch in #5 of #1857404: Point fonts.com error messages to the configuration page.

At the moment I believe this is is a duplicate of above issue, as I'm able to reproduce the problem only with unpatched Fonts.com submodule enabled but not otherwise; feel free to reopen if this is not the case and you can supply more detailed steps to reproduce the error.

jz1127’s picture

Can you please tell me where i should run the patch from? Sorry, I am a newbie. I know how to run it but not which directory to be in when I do. Thanks!

Drave Robber’s picture

The patch mentioned was committed to 7.x-2.x-dev some time ago.

(And if you're posting in closed issues, it may take a lot of time for someone to notice.)