Active
Project:
CDN2 Video
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
15 Dec 2009 at 17:09 UTC
Updated:
18 Dec 2010 at 00:10 UTC
I'm getting a fatal error when running cron:
Fatal error: Cannot access empty property in sites/all/modules/cdn2/cdn2_field.inc on line 206
Comments
Comment #1
kylebrowning commentedCan you do me a favor and show me a dump of the node object?
Also, have you tried using version 1.10
I dont believe this error exists there.
Comment #2
kylebrowning commentedClosing after 2 weeks of no activity
Comment #3
ebeyrent commentedSorry to reopen this, but I upgraded to 1.10, and still got the error.
Since the error was happening when cron was running, I had to add some debug code to the function in order to figure out which node is failing.
Here's a dump of the node that I think is having the issue:
Comment #4
Cactii1 commentedI'm also getting this. Exactly as stated line 206.
The same node worked just 2 days ago.
** UPDATE **
I dropped the asset... re-uploaded the video and the same error still applies.
** ANOTHER UPDATE **
Clearing the cache resolved the problem.
*** YET ANOTHER UPDATE ***
It wasn't the cache... This module does not play nice with the Fivestar module. Enabling the module recreates the error while disabling the module fixes it.
Comment #5
IncrediblyKenzi commentedComment #6
IncrediblyKenzi commentedLooking at line 208:
$items = $node->{$field_name};
I will set this up to check for field_name before committing to display it, but realistically this function shouldn't get called unless field_name is valid.
Second, I don't see how having fivestar installed would have any impact on whether the field data can be recalled.
Comment #7
Cactii1 commentedJust installed this module on a brand new Drupal 6 site - with the Fivestar module enabled I get the same error - disable Fivestar and all is good!