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.
The CTools content type comment_reply
is giving the following fatal error when the site language is not in English:
Fatal error: __clone method called on non-object in /.../sites/all/modules/contrib/ctools/plugins/content_types/comment/comment_reply_form.inc on line 28
Patch is coming in comment.
Comment | File | Size | Author |
---|---|---|---|
#1 | comment_reply_form_localize_no_context-2014225-1.patch | 715 bytes | jchatard |
Comments
Comment #1
jchatard CreditAttribution: jchatard commentedIt seems there is a missing
t()
around the stringNo context
, which in my installation is localized byPas de contexte
, leading to error.Here's the straight forward patch which solves this.
Best,
Jérémy
Comment #2
Andre-Bthis patch works
Comment #3
odegard CreditAttribution: odegard commentedworks +1
Comment #4
Andre-Bsucks to find myself searching the same issue twice and seeing my "this patch works" response without a commit :(
Comment #5
Ares_ekb CreditAttribution: Ares_ekb commentedThanks for patch! I had the same issue.
Comment #6
Andre-BComment #7
liza CreditAttribution: liza commentedJUST A HEADS UP: seems this patch was not included in the 30 September 2013 commit :\
Comment #8
SilviaT CreditAttribution: SilviaT commentedI've got the same issue and this patch fixes it. Let's hope this will be committed soon.
Comment #9
japerryTested, fixed, and committed:
http://drupalcode.org/project/ctools.git/commit/b637deb7fb84e20530d9f770...