When I try to enable the main module, I get this error on a WSOD:
Fatal error: Only variables can be passed by reference in mysite/sites/all/modules/merci/merci.module on line 1486

I tried it on 2 different versions of the site with the same result. After flushing the caches, I don't get an error at first when I try to enable the module. It just returns me to admin/modules with MERCI still not enabled. When I try it again, I get the error as above. Flush the caches again, and the cycle will repeat.

CommentFileSizeAuthor
#4 MERCI.jpg47.96 KBJonoe05

Comments

darrick’s picture

BTW: We want to get the 6.2 version RC out first. Then we'll return to development on 7.x.

zabelc’s picture

I ran into the same error and worked around it by changing the following:

  drupal_alter('form', $form_element, array(), 'merci_choice_js');

to this:

  $empty_array = array();
  $merci_choice_js = t('merci_choice_js');
  drupal_alter('form', $form_element, $empty_array, $merci_choice_js);

I'm fairly certain that it was merci_choice_js which solved the issue though.

darrick’s picture

Status: Active » Closed (fixed)

We've removed this call to drupal_alter in both 6.x and 7.x versions of Merci. So, marking this closed.

Jonoe05’s picture

StatusFileSize
new47.96 KB

I am using Drupal 7 and the correct version of MERCI but it will not let me check MERCI after the module is loaded.

darrick’s picture

Download and install the missing required modules (date and views).

Jonoe05’s picture

It won't even let me enable MERCI to download anything else.

darrick’s picture

You don't need to enable MERCI to download the dependent modules. Download them just as you downloaded MERCI. Whatever you did to get MERCI downloaded and to show up in the available module list do the same for the views and date modules:

http://drupal.org/project/date
http://drupal.org/project/views