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.
Clicks and opens are still being recorded properly, however.
simplenews_statistics_encoding not enabled.
URL example: http://dev.example.com/sns/click/2/4343
PHP Fatal error: Cannot use object of type stdClass as array in /home/me/platforms/dev/profiles/my_profile/modules/contrib/simplenews_statistics/simplenews_statistics.module on line 101
Comment | File | Size | Author |
---|---|---|---|
#1 | simplenews_statistics-subscriber-array-fix-2064607-2.patch | 755 bytes | ngstigator |
Comments
Comment #1
ngstigator CreditAttribution: ngstigator commentedPatched to treat $subscriber as object.
Comment #1.0
ngstigator CreditAttribution: ngstigator commentedchanged to remove client project info
Comment #1.1
ngstigator CreditAttribution: ngstigator commentedchange profile name
Comment #2
dieuweI found this same problem last week and fixed it for the latest dev. It was part of a larger problem which included the nid not being passed around as it is actually not stored in the subscriber class.