When adding or removing a field from a webform, I'm getting a white screen without any messages.

Drupal system log does not show any warnings or errors.
Enabled E~ALL in my php.ini, no message is shown.

The field is added/removed correctly but it seems I'm not getting correctly redirected to the webform. Any idea?

Comments

liam morland’s picture

It would be helpful to turn on error reporting so that you can see the error messages or look in the PHP or web server error log.

Try turning off Webform Tokens and see if the probably is still there. If it is, it is not a Webform Tokens problem.

liam morland’s picture

Status: Active » Postponed (maintainer needs more info)
Max2505’s picture

Well,

I can confirm that the issue was no longer there when I disable webform tokens module.
As I remove the module and continued with another aproach, it might take me a while to reproduce this...

liam morland’s picture

Error reporting will need to be turned on. I need the error messages to debug this.

andrew.wilson’s picture

I also have this issue, in addition to receiving the WSOD on content saves and deletes. Error reporting is turned on and I am not seeing anything in the log.

liam morland’s picture

If there is a WSOD, there has to be an error message generated, whether it is displayed or put into the PHP error log (not the same as the Drupal log).

liam morland’s picture

Title: White screen when adding/removing fields from webform » Call to undefined function token_clear_cache()
Status: Postponed (maintainer needs more info) » Active

Thanks for sending the error log. The error is:

PHP Fatal error: Call to undefined function token_clear_cache() in .../modules/webform_tokens/webform_tokens.module on line 368

liam morland’s picture

Please check that the token module is enabled. If not, enable it and see if that fixes the problem. Please let me know your results.

liam morland’s picture

Status: Active » Postponed (maintainer needs more info)
liam morland’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Fixed

Presuming fixed by enabling token module. Commit in #9 adds this dependency.

Status: Fixed » Closed (fixed)

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