Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Drupal 7.14
Marinelli 7.x-3.0-beta11
These warnings come up when you go to edit a blog post with a comment. If the blog has no comment, this doesn't happen.
Notice: Trying to get property of non-object in marinelli_preprocess_comment() (line 204 of /home/lvpapa/public_html/sites/all/themes/marinelli/template.php).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /home/lvpapa/public_html/includes/entity.inc).
Comments
Comment #1
manoloka CreditAttribution: manoloka commentedI get something a similar notice and warning, it happens once for every comment, so it's repeated many times.
Notice: Trying to get property of non-object in marinelli_preprocess_comment()
This happens since I upgraded to Drupal 7
Any ideas?
John did you get it fixed? How?
Comment #2
manoloka CreditAttribution: manoloka commentedthis fixed my issue
https://drupal.org/node/1027804#comment-4007104