Notice: Trying to get property of non-object in fonts_com_fontyourface_import() (line 39 of /blah/blah/blah/sites/all/modules/fontyourface/modules/fonts_com/fonts_com.module).

Getting this error when trying to import fonts.com. Not sure if the issue is on my config on fonts.com or locally or what. I didn't see any other issues in queue with this error. Wondering if anyone else has this issue or if I'm doing something wrong with my configuration.

I have my authentication token set correctly, or at least I think I do since the module is reaching the import function.

Any ideas? Let me know if more info from my end is needed.

Comments

sreynen’s picture

Hi thund3rbox,

Thanks for reporting the issue. I'll need more information to see why this is happening. If you're comfortable using the devel module, could you add dpm($data) after line 198, run the import again and see what it says? Otherwise, I'll have to add additional logging to the code and have you try that, which will take a little longer.

sreynen’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Status: Active » Fixed

I was able to track down this problem. It ended up being a typo in the function that gets domains that only affected projects with only 1 domain. Fix committed in both D7 and D6 dev versions. I'll do a new stable release soon.

patrickfgoddard’s picture

I am able to able to import fonts now with 7.x.1.2. I can't remember if I updated or not, but my dev domain was NOT set up on my "project" on fonts.com. I added and re-imported and got the fonts. Just an FYI.

sreynen’s picture

Great, thanks.

Status: Fixed » Closed (fixed)

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