I have created a rule that force users to create Profile before the can create content. Token module is causing drupal to produce the following error on custom 404 Error. Fatal error: Unsupported operand types in /home/public_html/includes/common.inc on line 1624

To recreate error
- set custom 404 or 403 page at admin/settings/error-reporting
- Add rule triggered by Page is going to be viewed
- Add condition Comparing text to a token. in my case [:global:current-page-path-raw]
- Visit an url that would result in 404

Have spent 2 months trying to figure this out.

Comments

Kcannick’s picture

Priority: Normal » Major
Kcannick’s picture

Is anyone else having this issue?