Hi there!

We just upgraded to the new, non dev release of the module and I still get this error on the pages during a test:
Notice: unserialize() [function.unserialize]: Error at offset 5 of 61 bytes in _multivariate_has_assigned_test() (line 742 of /home/content/35/11623235/html/drupal/sites/all/modules/multivariate/multivariate.module).

This happened in the dev release as well; I'm using a Bootstrap 2.2 sub theme, mix panel and a bunch of other, "non mainstream," modules in the development environment.

I did Google the issue a bit, but, couldn't seem to track down the solution. Any ideas or tips would be appreciated.

Thanks!

Comments

pivica’s picture

Hi and thanks for the bug report.

It seems that multivariate test cookie is corrupted and can not be unserialized.

Can you do two things:

First, in line 742 insert one additional debug line, something like this

function _multivariate_has_assigned_test($mtid) {
  if (isset($_COOKIE['multivariate_' . $mtid])) {
    var_dump($_COOKIE['multivariate_' . $mtid])); // 742: debug of a corrupted cookie
    return unserialize($_COOKIE['multivariate_' . $mtid]);
  }
  return FALSE;
}

Use any debug command you find suitable (var_dump, dpm, dd...) and when you have debug content copy&paste it here so I can take a look.

Second can you download latest multivariate dev version and latest drupal, create some test and reproduce this bug on clean environment - this would be a great help for fast debugging of this issue.

pivica’s picture

BTW

We just upgraded to the new, non dev release of the module

There is no non dev release of multivariate for 7.x. There is only a dev release. Also there is no upgrade path from 6.x to 7.x for now.

mgifford’s picture

Are there plans to release a stable release any time soon?

pivica’s picture

Hi,

Well there is a road map for releases on https://drupal.org/node/1564984. And yes it kinda go slow... Sorry currently we are busy with other Drupal projects and don't have clients that wants multivariate so we can not dedicate too much time on development for now.

We are will try to find clients to fund future development, but I can't promise any dates for now.

Thx for your interest.

mgifford’s picture

Appreciate the link and update!

Do you think that efforts like this http://topshelfmodules.com/

or

https://www.gittip.com/for/drupal/

would help?

pivica’s picture

Honestly I have no idea how much money we can raise with topshelfmodules or gittip.

Looking at a road map for 1.0 version (which is pretty ambitious) at least one month of full work is needed - but if we manage to reach 1.0 stable we would really have very cool multivariate and A/B testing solution for Drupal.

Quickly looking at topshelfmodules and gittip I don't think we can raise enough money with this two platforms for this.
Also checking https://www.drupalfund.us/ - there is no much activity there also.

So finding real clients that can finance multivariate module development would be the best/safest option, on the other hand I don't mind trying with topshelfmodules - maybe we can fund one part of development with it.

@mgifford if you have more infos about topshelfmodules please share.

Thx for your support.

mgifford’s picture

Since none of them have any official support on d.o it's really difficult to start getting people involved. At the moment they are all lacking critical mass.

I don't have any more info, but there is a good discussion of it here http://openconcept.ca/blog/mgifford/gittip-nurturing-community-drupal-sh...