* notice: Array to string conversion in drupal-6.x-dev\sites\all\modules\barcode\barcode.inc.php on line 78.
* notice: Array to string conversion in drupal-6.x-dev\includes\bootstrap.inc on line 734.
* warning: preg_match() expects parameter 2 to be string, array given in drupal-6.x-dev\includes\bootstrap.inc on line 737.
repro steps:
1. install drupal-6.x-dev
2. enable content and barcode modules
3. add barcode field to page content type
4. create a page
solution:
in barcode.module file change line 150
from:
$encoding = variable_get('barcode_encoding', array('UPC-A'));
to:
$encoding = variable_get('barcode_encoding', 'UPC-A');
Comments
Comment #1
slip commentedThis should be good in 2.0-dev. I'm closing this issue because it's so old and it seems like dev stopped on the 1.0 branch a year ago.