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.
I get the following errors after a fresh install of D7 Beta 3 & the latest commerce dev on the order & products page
Notice: Trying to get property of non-object in views_handler_area_text->render_textarea() (line 45 of /var/www/d7b3commerce/sites/all/modules/contrib/views/handlers/views_handler_area_text.inc).
It goes away after content is added for the view to pick up. Found a similar issue here: http://drupal.org/node/829310
Comment | File | Size | Author |
---|---|---|---|
#7 | 976106-7.patch | 2.91 KB | bendiy |
Comments
Comment #1
PieterDCI've also noticed that one.
Comment #2
rszrama CreditAttribution: rszrama commentedI've noticed this, too... I think our default Views need to be re-exported to code to pick up some missing properties.
Comment #3
recrit CreditAttribution: recrit commentedconfirmed missing text format for empty text.
if you edit view for orders or products, the empty text format is not set. If you select a format (ex. plain text), then no errors.
Comment #4
rszrama CreditAttribution: rszrama commentedCommit: https://github.com/rszrama/drupalcommerce/commit/0b269526d12a0f273518d98...
Comment #5
bendiy CreditAttribution: bendiy commentedI'm still getting this error after making those changes:
Adding "&" to the $options variable in "commerce_product_handler_field_product.inc" line 13 works.
Same goes for "views_handler_field.inc" line 456.
Comment #6
bendiy CreditAttribution: bendiy commentedI'm also getting these errors right after I clear View's Cache:
Comment #7
bendiy CreditAttribution: bendiy commentedAttached is a patch to fix all the errors in #5 and #6 except for the "views_handler_field.inc" line 456. That's a Views issue. It appears to be fixed with this patch #974542: Strict warnings.
Comment #8
rszrama CreditAttribution: rszrama commentedThanks a lot! Committed. : )