Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Steps to recreate:
- Download the latest dev release.
- Enable Display Suite, Display Suite Extras, Display Suite Forms, Display Suite UI.
- Navigate to Structure > Display Suite > Fields and click "+Add a dynamic field".
- Give it a label (I tried many different ones, but "foo" should suffice).
- Check the Entity boxes for Comment and Node and click save.
- Navigate to Structure > Content types > [any content type ] > Manage display > Teaser.
- In the bottom vertical tabs, select One column for the Layout for [content type] in teaser and click save.
- Move our new dynamic field 'foo' up into the 'content' region.
- Click the cog wheel for the foo field and click the link 'Select content'.
On localhost where the url is localhost/fooclientsite, I get the following error in a dialog box:
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /fooclientsite/admin/structure/ds/fields/manage_ctools/content/add/node/submitted_by_and_links?selection=1
StatusText: Internal Server Error
ResponseText:
On a server where the url is fooclientsite.foodomain.com, I get a different error:
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/ds/fields/manage_ctools/content/add/node/foo?selection=1
StatusText: OK
ResponseText:
Fatal error: require_once() [function.require]: Failed opening required '/path/to/domains/fooclientsite.foodomain.com//Array' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /path/to/domains/fooclientsite.foodomain.com/sites/all/modules/ctools/includes/plugins.inc on line 779
Any ideas? I'm happy to dig deeper if anyone has a suggestion.
Comments
Comment #1
davidneedhamIf it matters, for step 5 I also tried leaving out comment - just checking node.
Comment #2
swentel CreditAttribution: swentel commentedI've tried reproducing, but everything works fine here.
Comment #3
Blanca.Esqueda CreditAttribution: Blanca.Esqueda commentedThe issue seems to only occur once – if you encounter the error and refresh the page, you'll be able to continue without errors.
Clear the browser cache and the error would be reproduced again.