Development

#10009 (PHP 5.4.0 preg_match() warnings on "propel:build-model")

You must first sign up to be able to contribute.

Ticket #10009 (new defect)

Opened 1 year ago

Last modified 1 year ago

PHP 5.4.0 preg_match() warnings on "propel:build-model"

Reported by: drummer Assigned to: fabien
Priority: minor Milestone:
Component: other Version: 1.4.x DEV
Keywords: Cc:
Qualification: Unreviewed

Description

When using command:

symfony propel:build-model

PHP 5.4.0 throws warning:

PHP Warning:  preg_match() expects parameter 2 to be string, array given in
Symfony-1.4-DEV\lib\plugins\sfPropelPlugin\lib\addon\
sfPropelDatabaseSchema.class.php on line 711

Change History

03/10/12 20:04:18 changed by fabien

$type should always be a string. Can you give us the value of type when this method is called with the warning? (or even better, the snippet of your schema that gives you this warning).