Closed (fixed)
Project:
@font-your-face
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 May 2011 at 16:51 UTC
Updated:
9 Jun 2011 at 22:21 UTC
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
Comment #1
sreynen commentedHi 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.
Comment #2
sreynen commentedI 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.
Comment #3
patrickfgoddard commentedI 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.
Comment #4
sreynen commentedGreat, thanks.