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.
Hi. I'm getting the following error using the latest dev version.
PHP Fatal error: Unsupported operand types in /www/sites/all/modules/pdm/pdm.module on line 43
The issue seems to be adding the default options twice. The attached patch seems to fix the issue for me.
Erik.
Comment | File | Size | Author |
---|---|---|---|
#1 | pdm_unsupported_operand_types.patch | 498 bytes | erikhopp |
Comments
Comment #1
erikhopp CreditAttribution: erikhopp commentedI'm going to update the patch here to cover a second "Unsupported operand types" issue right in the same area. Calling pdm_create_message with no options specified - using only the defaults - causes an error. This updated patch fixes the initial error and this second situation as well.
Comment #2
AaronBaumanThis kills the module, and makes any call to the module's primary function WSOD the drupal site.
This is critical.
pdm_unsupported_operand_types.patch RTBC
Comment #3
AaronBaumanComment #4
AaronBaumanbump
Comment #5
soyarma CreditAttribution: soyarma commentedSorry I abandoned this module for awhile. I left Drupalland, but I'm back. I'll be applying this to the dev release today.
Comment #6
soyarma CreditAttribution: soyarma commentedComment #8
soyarma CreditAttribution: soyarma commented