Hi there,

I have the folowwing error when I try to add an image ad :

    * warning: date() expects parameter 2 to be long, string given in /sites/all/modules/token/token_node.inc on line 38.
    * warning: date() expects parameter 2 to be long, string given in /sites/all/modules/token/token_node.inc on line 39.
    * warning: date() expects parameter 2 to be long, string given in /sites/all/modules/token/token_node.inc on line 40.
    * warning: date() expects parameter 2 to be long, string given in /sites/all/modules/token/token_node.inc on line 41.
    * warning: date() expects parameter 2 to be long, string given in /sites/all/modules/token/token_node.inc on line 42.
    * warning: date() expects parameter 2 to be long, string given in /sites/all/modules/token/token_node.inc on line 43.
    * warning: date() expects parameter 2 to be long, string given in /sites/all/modules/token/token_node.inc on line 44.
    * warning: date() expects parameter 2 to be long, string given in /sites/all/modules/token/token_node.inc on line 45.
    * warning: date() expects parameter 2 to be long, string given in /sites/all/modules/token/token_node.inc on line 46.
    * warning: date() expects parameter 2 to be long, string given in /sites/all/modules/token/token_node.inc on line 47.
    * warning: date() expects parameter 2 to be long, string given in /sites/all/modules/token/token_node.inc on line 48.
    * warning: date() expects parameter 2 to be long, string given in /sites/all/modules/token/token_node.inc on line 49.

And the created ad don't have the image. I have to edit it, and submit it again and the image appear...

Any ideas ?

I'm on the stable version, Do I need to be on the dev version which is more stable ?

Comments

jeremy’s picture

Project: Advertisement » Token
Version: 5.x-1.3-2 » 5.x-1.x-dev
Component: ad_image.module » Code

Your issue appears to be with the "token_node" module, which appears to be from the "token" project. Re-assigning.

greggles’s picture

@zmove - which version of token were you using? I believe this has been fixed.

goose2000’s picture

5.x-1.9 - I thought this was fixed too. I just now found some the others posts about this, sry. Guess I'll try the dev version:

5.x-1.x-dev 2008-Jan-09 23.58 KB

EDIT ---------------------------

Confirmed, works great if you use the DEV version...

greggles’s picture

Status: Active » Closed (duplicate)

Great to hear. Thanks.

In general, please don't edit a comment. I only got the mail with the original comment and not the new one so I didn't know this was working for you.