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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

erikhopp’s picture

I'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.

AaronBauman’s picture

Priority: Major » Critical
Status: Needs review » Reviewed & tested by the community

This 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

AaronBauman’s picture

AaronBauman’s picture

bump

soyarma’s picture

Sorry I abandoned this module for awhile. I left Drupalland, but I'm back. I'll be applying this to the dev release today.

soyarma’s picture

Assigned: Unassigned » soyarma
Status: Reviewed & tested by the community » Closed (fixed)

  • erikhopp authored 90511d6 on 7.x-1.x
    Issue #2150953 by erikhopp: PHP fatal errors on pages that call...
soyarma’s picture

Status: Reviewed & tested by the community » Closed (fixed)