Just to let you know: on installing this in a new clean install of D7.7 -- with not many other optional modules installed as yet except Views, CTools, Page Title, a few others -- got this immediately after the install:

"Notice: Trying to get property of non-object in radioactivity_cron() (line 193 of [redacted]/sites/all/modules/radioactivity/radioactivity.module)."

Thoughts?

Thanks! -- Diane

Comments

oobie11’s picture

getting the same message :(, except not at install. I'm seeing it everywhere!

oobie11’s picture

This is the full error I'm getting

"Notice: Trying to get property of non-object in radiactivity_get_incident_storage() (line 137 of  [redacted]/sites/all/modules/radioactivity/radioactivity.module).
Notice: Trying to get property of non-object in radioactivity_cron() (line 190 of  [redacted]/sites/all/modules/radioactivity/radioactivity.module).
Notice: Trying to get property of non-object in radioactivity_cron() (line 191 of  [redacted]/sites/all/modules/radioactivity/radioactivity.module).
Warning: Cannot modify header information - headers already sent by (output started at  [redacted]/includes/common.inc:2567) in drupal_send_headers() (line 1018 of  [redacted]/includes/bootstrap.inc).
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '), field_hotness_radioactivity_timestamp='1314919074' WHERE (field_hotness_radi' at line 1: UPDATE {field_data_field_hotness} SET field_hotness_radioactivity_energy=field_hotness_radioactivity_energy * pow(2, (field_hotness_radioactivity_timestamp * 1.0 - 1314919074) / ), field_hotness_radioactivity_timestamp=:db_update_placeholder_0 WHERE (field_hotness_radioactivity_timestamp < :db_condition_placeholder_0) AND (deleted = :db_condition_placeholder_1) ; Array ( [:db_update_placeholder_0] => 1314919074 [:db_condition_placeholder_0] => 1314919074 [:db_condition_placeholder_1] => 0 ) in radioactivity_cron() (line 206 of [redacted]/sites/all/modules/radioactivity/radioactivity.module)."

Any ideas as to whats going on here?
EDIT: I removed the "radioactivity field" from the content type it was attached to and then re added it, the error has seem to go away for now

Juan C’s picture

Subcribe

tcmug’s picture

Assigned: Unassigned » tcmug

Do you really get this with the newest release?

Juan C’s picture

I still get the error message on status report, using the latest dev release:

Notice: Trying to get property of non-object in radioactivity_cron() (line 178 of /var/www/vhosts/example.com/httpdocs/sites/all/modules/radioactivity/radioactivity.module).

tcmug’s picture

Status: Active » Needs review

Pushed a fix to master! Please review and close if it works :)

oobie11’s picture

Seems to be working fine :) Ill report back with a new issue if it starts to happen again

Juan C’s picture

Status: Needs review » Closed (fixed)

It seems the latest dev fixed the error message. Thanks.
Change the status as closed (fixed) for now.