Hi all!

When I go to admin/structure/stylizer/add, the only thing I see is:
Warning: Parameter 1 to ctools_export_ui_edit_item_wizard_form() expected to be a reference, value given in drupal_retrieve_form() (line 703 of */includes/form.inc).

Lubas

CommentFileSizeAuthor
#10 ctools_7.patch744 bytesbpeter
#9 ctools.patch559 bytesberdyshev
#7 ctools.patch892 bytesberdyshev
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

merlinofchaos’s picture

Are you using PHP 5.3?

Lubas’s picture

Yep, PHP 5.3.2
I got more errors like this, and even a wsod for a while, so I disabled ctools: it only caused troubles!

valoonux’s picture

Hi all !
I get the same error
Warning: Parameter 1 to ctools_export_ui_edit_item_wizard_form() expected to be a reference, value given in drupal_retrieve_form() (line 705 of /usr/share/drupal7b3/includes/form.inc).

when I try to work with panels, for example when I go to /admin/structure/mini-panels/add

(I'm usingPHP 5.3.2)

Valerie

deepbluesolutions’s picture

deepbluesolutions’s picture

hi all, Im still getting the problems outlined above, I cant get any endpoint created for services to function. I note merlinofchaos comment, re php 5.3, is ctools 5.3+ compatible is this where my problem is?
Im using the latest dev release of d7 core, as well as latest dev releases of ctools, services and rdf. any pointers very gratefully received.

Warning: Parameter 1 to services_edit_form_endpoint() expected to be a reference, value given in drupal_retrieve_form() (line 766

This issue was nothing to do with ctools !!, and is now sorted, upgrade to the latest version of services!

roma.k’s picture

Got the same error when I went to mini panels and clicked Add, refering to adding a mini panel. Here is the error.
Warning: Parameter 1 to ctools_export_ui_edit_item_wizard_form() expected to be a reference, value given in drupal_retrieve_form() (line 766 of /Users/user/Sites/DrupalSite/includes/form.inc).

Drupal 7 RC2
Mac OS X
php 5.3

berdyshev’s picture

FileSize
892 bytes

Here is the patch, this helps me.

aspilicious’s picture

Status: Active » Needs review
berdyshev’s picture

FileSize
559 bytes

Ops, in previous patch exists some error.... I fixed it.
File to patch: ctools/plugins/export_ui/ctools_export_ui.class.php
You must apply patch from directory: ctools/plugins/export_ui

bpeter’s picture

Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Status: Needs review » Reviewed & tested by the community
FileSize
744 bytes

Corrected patch to prevent WSOD. It works with the latest -dev. (PHP 5.3.3)

I changed to RTBC because the correction was trivial.

bpeter’s picture

Oops, I missed BerdArt's patch...

My patch is the same but you can apply it from the ctools directory.

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

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