This issue seems highly related to the issue at: http://drupal.org/node/153737

Modules:
- using Token (5.x-1.9)
- using Pathauto (5.x-2.0)
- using Audio (5.x-2.x-dev).
- not using Upload Path
- not using Upload

The following error message happens when I attempt to upload an audio file, and it looks like this:

warning: date() expects parameter 2 to be long, string given in /www/example.com/web/sites/all/modules/token/token_node.inc on line ##

example, of course, is our domain
## is different for each printing of the message--it's a long list that fills the screen

I've never submitted an issue report before. Please let me know if I've left anything out of the above description.

Thank you,
s.

Comments

susata’s picture

Update: I have installed Upload (but not Upload Path), and I am still getting this error when I try to upload an audio file. I would immensely appreciate any suggestions about how I might fix this.

Thanks,
s.

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry for the long delay in responding.

If you update to the most recent version of token are you still having this problem?

musicmadness’s picture

I've been having the same problem since I updated to version 5.8 of drupal. I am about to update token to the newest version and I'll get back on and post the results if it fixes the problem.

musicmadness’s picture

Status: Postponed (maintainer needs more info) » Fixed

I updated token to the current version 1.11. The error has now vanished. Fixed, at least for me.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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