I am not sure what caused this error to start. I am getting a WSOD when trying to access

admin/structure/types/manage/CONTENT_TYPE/fields

Adding error reporting to index.php produces following error message:

Fatal error: Cannot increment/decrement overloaded objects nor string offsets in /var/www/html/sites/all/modules/field_tools/field_tools.module on line 288

Ref: How to add error reporting to Index.php. https://drupal.org/node/158043

Note the requirement to add these lines to the top of the file:

<?php
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
// $Id: index.php,v 1.94 2007/12/26...

Also, DO NOT include the <?php line

CommentFileSizeAuthor
#11 field_tools-colspan-2155531-11.patch669 bytesrudins
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

Just as a follow up, disabling field_tools module solves WSOD problem.

joachim’s picture

Works for me.

Did you try clearing your cache?

Anonymous’s picture

Hi @joachim. The only thing that worked was disabling the field_tools module. Once it was disabled I may have run drush cc again, but the problem was definitely with the module.

The root cause may be related to image field processing, perhaps the use of the drag and drop module, pulpload, or multiupload as field tools was not causing problems before I started messing with the image field settings on various content types.

joachim’s picture

I'm not sure how those would affect the field list page.

Do those other modules change the field list page form?

Anonymous’s picture

Hi joachim:

I don't think so as the field remains an image field, the drag and drop is a widget selection for example (and it doesn't work!)

Sorry can't be of more help. The field tools module is one I wasn't really using much anyway so I am just happy to able to manage the fields at admin/structure/types/manage/CONTENT_TYPE/fields

dzinergal’s picture

Hi, I'm also getting the WSOD after updating to alpha5.

I'm disabling this module to solve the problem but would love to use it as it solves a dev issue on another level.

Please look into this.
Same error message: Fatal error: Cannot increment/decrement overloaded objects nor string offsets in /home/thesaxxy/public_html/sites/all/modules/field_tools/field_tools.module on line 288

Thanks

joachim’s picture

Can you debug that point to see why that error is happening?

I can't do anything on my end, as I'm not able to reproduce the bug.

Anonymous’s picture

Doubled checked by re-enabling the module today. Same error, WSOD with my existing content types. I checked in firebug but there are no errors. Checked admin/reports/dblog and again, nothing unusual.

I created a basic content type with no fields then added various field types one by one.

This new content type works fine, even with several different field types such as file, image, boolean checkbox, body, etc.

fonant’s picture

I'm seeing this too, perhaps a problem with interaction with Display Suite (ds) modules?

DeNelo’s picture

I'm getting this too. Disabling Field Tools resolved it. Using DS too.

rudins’s picture

There is patch, that solves this issue.

muschpusch’s picture

I didn't had the time to review but i can confirm that it fixes the issue

joachim’s picture

Status: Active » Fixed

Committed.
Thanks for the patch!

git commit -m "Issue #2155531 by rudins: Fixed fatal error on bundle field admin UI when DS or other module changing columns is present." --author="rudins "

Status: Fixed » Closed (fixed)

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