Hi, after upgrading to version 1.5 I get the following errors in the system log:
end() [function.end]: Passed variable is not an array or object in /var/www/drupal6/sites/all/modules/multicolumncheckboxesradios/multicolumncheckboxesradios.module line 332
array_pop() [function.array-pop]: The argument should be an array in /var/www/drupal6/sites/all/modules/multicolumncheckboxesradios/multicolumncheckboxesradios.module line 333.
It seems some kind of loop, since the log is full of this kind of errors and after some time I get an exceeded execution time php error.
Disabling this module resolve the problem. The problem came out only when I try to create some new content. If you need some more info, please let me know.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | php_web_errors.log_.tar_.gz | 682 bytes | andypanix |
| #2 | phpinfo.tar_.gz | 17.81 KB | andypanix |
Comments
Comment #1
mattyoung commentedWhat is you PHP version?
>The problem came out only when I try to create some new content.
What content are you creating? Does it have multicolumn checkboxes/radios in it?
Can you insert some debug print out?
Copy the output from php log and paste here.
Comment #2
andypanix commentedHi Matthew, it seems to happen only when creating content that does NOT have multicolumn checkboxes/radios in it. PHP version is 5.2, I was able to replicate the problem on my develop machine (PHP 5.2.10-2ubuntu6.4) and on my production server (PHP 5.2.4-2ubuntu5.10).
Attached you can find phpinfo output for my develop machine and the the php debug log.
Comment #3
mattyoung commentedThank you for the feedback. I know what the problem is and it should be fixed in version 1.6 I just released. Please give it a try. The radios 'Bozza' and 'Lavoro finito' should just display in one column.
Comment #4
andypanix commentedHi Matthew, great work! Version 1.6 resolve the issue and yes, one column for the radios 'Bozza' and 'Lavoro finito'.
And thanks again for this really useful module.
Andrea