Strict warning: Only variables should be passed by reference in basic_cart_checkout() (line 90 of /sites/all/modules/basic_cart/basic_cart.cart.inc).
Got this when doing chechkout.
It is easy resolved by replacing 90th line with code below:
$tempform=drupal_get_form('basic_cart_checkout_form');
$form = drupal_render($tempform);
Thank You for this great module! Very well done!
Comments
Comment #1
alex dicianu commentedHi,
Thanks for notifying me about this issue.
I think there is version problem .. I'll look into it.
In the mean time you can use the dev release.
Comment #2
alex dicianu commentedI have updated the version on the project page. I had some problems with my computer and for some reason the wrong version was tagged. Sorry about that ... :(
Comment #3
ctrnz commentedNow you have it at line 210 in basic_cart.cart.inc
:)
Comment #4
alex dicianu commentedCan you please tell me which version of drupal/php you are running?
Neither I, nor the drupal reviewers group, had this warning and I am wondering if there are more ...
Comment #5
ctrnz commentedI'm using those:
Drupal 7.12
PHP 5.3.8-pl0
Comment #6
alex dicianu commentedFixed in the 2.0-alpha release.