Needs work
Project:
Ubercart Webform Checkout Pane
Version:
7.x-3.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 May 2013 at 12:24 UTC
Updated:
27 Jun 2013 at 11:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
arski commentedNot sure how converting the string "add" to int would really fix the problem? should rather fix the underlying issue.. what version of webform are you using?
Comment #2
allartk commentedI use webform 7.x-3.18 . After looking more precisely, the value comes from line 62/63 in uc_webform_pane.module:
$nid = arg(1);
if (uc_webform_pane_nodestatus($nid)) {
The patch solves it with is_int($nid)
Comment #3
arski commentedHm, again, while eliminating the error, this does not solve the underlying issue that this should not be occurring in the first place.
Comment #4
hynnot commentedI have the same problem. But I don't use ubercart...
Maybe is a problem of Drupal with Postgres?
I have this problem when I try add a content, unless the administrator user.
I found this solves my problem: https://drupal.org/node/1003788#comment-6110312
Comment #5
arski commentedsorry guys, but I'm afraid I don't have the time to maintain the module anymore - so hopefully someone will volunteer to take over.