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.
Fatal error: Cannot use object of type stdClass as array in /path/to/site/drupal/includes/theme.inc on line 1054
When viewing purchased nodes I see this error (with PHP error reporting on). Turing off UC Node Checkout allows you to view the nodes normally.
Comment | File | Size | Author |
---|---|---|---|
#1 | fatal_error_fix.patch | 596 bytes | drupalprojects |
Comments
Comment #1
drupalprojects CreditAttribution: drupalprojects commentedAttaching a patch with fix
Comment #2
bisonbleu CreditAttribution: bisonbleu commentedAh! stumbled 4 hours on this Fatal error and was staring at the very same line 826!
'#value' => theme('uc_node_checkout_node_attributes', $product),
Thanks for the patch!
Setting to RTBC.