First of all: Absolutely awesome module! This is just what I have been waiting for (without even knowing). No need for using complicated revisions anymore for relatively simple tasks. Support for user profiles (profile2) would make it perfect. This is a great start though!
The module is working just as expected. However I am getting the following warnings when updating a node. It seems that the warning is being repeated just as many times on the screen as there are field being watched by the module:
Strict warning: Only variables should be passed by reference in track_field_changes_handler_field_value_after->render() (Zeile 38 von E:\xampp\htdocs\test\sites\all\modules\track_field_changes\views\track_field_changes_handler_field_value_after.inc).
Not sure if this is caused by the module at all. The functionality doesn't seem to be affected. Just wanted to check whether something can be done about this?
Thanks in advance.
Comments
Comment #1
targoo commentedthanks for reporting this. I will look into it asap.
Comment #2
targoo commentedcan you still see these messages in the latest release ?
Comment #3
Golem07 commentedAfter a few tests with the latest release (beta 4) I did not see the notices any more so I guess they are gone for good!. Thank you.
Comment #4
Golem07 commented... and it is back (beta4). Even though the following notices are different and only show when accessing a view displaying changes and not when updating a node. Futhermore the notices do not appear on the view preview but only on the saved page view:
Comment #5
targoo commenteddo you use any custom field ?
can you export your view ?
Comment #6
Golem07 commentedHi,
thanks for the quick reply:
I used only the node title and one text field in the view. Here it is:
Comment #7
targoo commentedI can't reproduce it. Could you send me your DB on my personal email address (targoo@gmail.com) ?
Comment #8
targoo commentedcan't reproduce
Comment #9
Ionut Adrian Luchian commentedI have this error, me too.
After updating a field value, in my view (Grid format) appears 2 rows like in this image: click to see the image
Thank you.
PS. I selected version 7.x-1.1
Comment #10
tree887 commentedHi,
Was anyone able to find a solution to the errors, by chance?
This is such a useful module by the way! Thank you!!!
Strict warning: Only variables should be passed by reference in track_field_changes_handler_field_value_after->render() (line 38 of C:\Users\Chris\Sites\acquia-drupal\sites\all\modules\track_field_changes\views\track_field_changes_handler_field_value_after.inc).
Comment #11
isilweo commentedThose notices are coming from PHP 5.4. They're easly fixable. See attached patch for fix.
Comment #12
Dandily commentedisilweo, thank you, it's works for me.
Comment #13
cockers commentedThank you isilweo, the patch has worked for me too. Can we commit it?
Comment #14
MattWithoos commentedThis has been committed into 7.x-1.4
https://www.drupal.org/node/2488366