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

manoloka’s picture

I 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()

Notice: Trying to get property of non-object in marinelli_preprocess_comment() (line 204 of 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 includes/entity.inc).

This happens since I upgraded to Drupal 7

Any ideas?

John did you get it fixed? How?

manoloka’s picture