Wenn I activate the Modul and set a box I become this error:

Warning: Illegal string offset 'subject' in jquery_countdown_timer_block_view() (Zeile 78 von /homepages/5/d736645434/htdocs/supptest/sites/all/modules/jquery_countdown_timer/jquery_countdown_timer.module).
Warning: Illegal string offset 'content' in jquery_countdown_timer_block_view() (Zeile 79 von /homepages/5/d736645434/htdocs/supptest/sites/all/modules/jquery_countdown_timer/jquery_countdown_timer.module).
Notice: Array to string conversion in jquery_countdown_timer_block_view() (Zeile 79 von /homepages/5/d736645434/htdocs/supptest/sites/all/modules/jquery_countdown_timer/jquery_countdown_timer.module).

CommentFileSizeAuthor
#3 jct-2974099-3.patch519 bytesPranali.addweb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

GentlemanJack created an issue. See original summary.

deanw’s picture

I had the same issue. It works for me using php 5.6 or 7.0 but php 7.1 causes the error.

Pranali.addweb’s picture

Status: Active » Needs review
FileSize
519 bytes

@GentlemanJack, I got the same error by installing & using this module. By using the attached patch I got the solution & error is resolved now for me. Kindly use this patch & Let me know if you still face any issue.

Thanks!,,

KoCo’s picture

Patch worked for me. Thx

caspervoogt’s picture

that patch worked for me. RTBC in my book.

jvandyk’s picture

Status: Needs review » Reviewed & tested by the community

The code initializes $block as a string. But it's an array. The patch in #3 fixes this.

kruser’s picture

#3 Worked for me

heddn’s picture

+1 on RTBC.

Neslee Canil Pinto’s picture

+1

Neslee Canil Pinto’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.