Hello,

I've just started to use Drupal which is magic. But i'm a newbie and i have a lot of errors messages when i click on configuration/payements.

Here is what was displayed when i turned on "node display", "node creation" and donations:

* Notice : Undefined index: form dans pay_node_admin_settings() (ligne 23 dans C:\wamp\www\DrupalKreafactor\sites\all\modules\pay-7.x-1.0-alpha1\pay\modules\pay_node\includes\pay_node.admin.inc).
* Notice : Undefined index: view dans pay_node_admin_settings() (ligne 29 dans C:\wamp\www\DrupalKreafactor\sites\all\modules\pay-7.x-1.0-alpha1\pay\modules\pay_node\includes\pay_node.admin.inc).
* Notice : Undefined index: donate dans pay_node_admin_settings() (ligne 45 dans C:\wamp\www\DrupalKreafactor\sites\all\modules\pay-7.x-1.0-alpha1\pay\modules\pay_node\includes\pay_node.admin.inc).
* Notice : Undefined index: #options dans form_process_checkboxes() (ligne 3065 dans C:\wamp\www\DrupalKreafactor\includes\form.inc).
* Notice : Undefined index: #options dans form_process_checkboxes() (ligne 3065 dans C:\wamp\www\DrupalKreafactor\includes\form.inc).
* Notice : Undefined index: #options dans form_process_checkboxes() (ligne 3065 dans C:\wamp\www\DrupalKreafactor\includes\form.inc).
* Notice : Undefined index: #options dans form_process_checkboxes() (ligne 3065 dans C:\wamp\www\DrupalKreafactor\includes\form.inc).

Don't know what i have to do and if it's minor or if i have to fix quickly this problem.

Hope you'll be able to help me.

Thanks!

Kreafactor!

CommentFileSizeAuthor
#4 pay_node_admin_default_options.patch1005 bytesgdoteof

Comments

kreafactor’s picture

Assigned: kreafactor » Unassigned
rmeltg’s picture

Similar issue here 7.x-1.0-alpha1:

Notice: Undefined index: #options in form_process_checkboxes() (line 3137 of /home/content/26/8541726/html/drfl/includes/form.inc).
Notice: Undefined index: #options in form_process_checkboxes() (line 3137 of /home/content/26/8541726/html/drfl/includes/form.inc).

Any solution found?

dmkeene’s picture

Same here. Any solutions for this?

gdoteof’s picture

Assigned: Unassigned » gdoteof
StatusFileSize
new1005 bytes

I have not actually used pay_node, but this stopped those errors from coming up for me.

All we are doing is adding some sane defaults.

gdoteof’s picture

Status: Active » Needs review
dmkeene’s picture

Thanks. I applied the patch, but I'm still getting the errors, and I am still unable to have creation of a node require payment.

Perhaps I'll have to use a different set of modules for what I intend to do here. As it stands, I was looking to use the Pay module to process donations to different organizations, so we need the ability to set a different payment processor for each donation page. We also wanted to require payment for creation of a node, and establish a new node type called 'contribution' - that way we could easily create views and counts of contributions, as well as award points to users for making contributions.

gdoteof’s picture

The patch applied cleanly?

And are you sure you dumped the form cache?

In any case, I was not able to get pay_node to work correctly either, after taking a couple stabs at it.

I am not getting any errors, but, the payment options at the node level are not saving, and the form is not showing up for eithe viewing or creating a node.

gdoteof’s picture

Status: Needs review » Needs work