Hey guys,

This is a great little module but we're seeing an error:

Error message
Notice: Array to string conversion in _trademark_process() (line 150 of /sites/all/modules/trademark/trademark.module).

Any ideas why this is happening and how we can remove the error?

Thanks,

Qasim

CommentFileSizeAuthor
#3 trademark-message-2334811-3.patch452 bytesrenatog

Comments

renatog’s picture

Assigned: Unassigned » renatog
harsh.behl’s picture

@renatog how to reproduce this error?

renatog’s picture

Status: Active » Needs review
StatusFileSize
new452 bytes

Hi @designguru and @pen .

This happened because in one moment the function: _trademark_process received a array in variable $text.

I fixed it with check in function.

The patch with the fix follow in attachment.

Thank you very much.

Regards.

renatog’s picture

Assigned: renatog » Unassigned

  • markcarver committed 1ccfae5 on 7.x-1.x authored by renatog
    Issue #2334811 by renatog: Array to String Conversion error?
    
markhalliwell’s picture

Status: Needs review » Fixed
renatog’s picture

Issue tags: +ciandt-contrib

Status: Fixed » Closed (fixed)

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