Download & Extend

PHP warning (with fivestar option enabled)

Project:NodeReview
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Getting the following SQL error upon review submission

warning: Attempt to assign property of non-object in /home/admin/public_html/olfscdev/sites/all/modules/nodereview/nodereview_node_nodereview.inc on line 288.

Just thought I'd report this. I'll also play around and see if I can figure out what might be causing it.

Comments

#1

Title:SQL Error upon submission (with fivestar option enabled)» PHP warning (with fivestar option enabled)

This isn't related to SQL. It's also not an error, but a PHP warning. I believe it can be safely ignored, but if you find it causing a problem, please let me know.

#2

(doh!) Yes, I wrote that around the same time as I wrote an issue to another project here that *was* actually an (SQL) error.

In any case, you were right, it seems the above warning ceased after clearing cache.

Thanks for your reply

#3

Status:active» closed (fixed)
nobody click here