Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
PHP Fatal error: Unsupported operand types in /opt/lampstack-5-3-8-2/apps/drupal/htdocs/sites/all/modules/field_injector/field_injector.module on line 28
Comment | File | Size | Author |
---|---|---|---|
#2 | services_views-1672494-formatter-settings-property.patch | 511 bytes | ygerasimov |
Comments
Comment #1
Dave ReidThe problem here is that because services_views_field_formatter_info_alter() is an *alter* hook, that adding new formatters in that function needs to have all of its default properties assigned, which includes 'settings' => array().
See _field_info_collate_types() and the section with '// Populate formatter types.'
Comment #2
ygerasimov CreditAttribution: ygerasimov commentedDave do you mean patch like attached?
Sirish, can you test it please?
Comment #3
ygerasimov CreditAttribution: ygerasimov commentedPatch has been committed a while ago.
Comment #4
gumdal CreditAttribution: gumdal commentedI am facing this error, but at a different location. I have just installed Services Views module today, which means that it contains the patch submitted by ygerasimov on November 18, 2012.
This is what I get:
Fatal error: Unsupported operand types in /home/..../<drupal_folder>/sites/all/modules/services/auth/services_oauth/services_oauth.inc on line 25
Thanks for any suggestions / fixes.
Comment #5
ygerasimov CreditAttribution: ygerasimov commentedI have created separate issue for this bug report. #1844678: Services Views and Oauth. Fatal error..
I have never tried oauth module with service views, so it needs some investigation. But definitively as separate issue.
Comment #6
gumdal CreditAttribution: gumdal commentedThank you, and also thanQ for this great module :)