yii2-dynamicform icon indicating copy to clipboard operation
yii2-dynamicform copied to clipboard

Hi, you have a bug in dynamicform in symfony/dom-crawler

Open denoll opened this issue 9 years ago • 8 comments

Hi, you have a bug in dynamicform in symfony/dom-crawler:

Call to undefined method Symfony\Component\DomCrawler\Crawler::rewind()

In last version DomCrawler not have a rewind property.

Fixsed please this bug

denoll avatar Jan 07 '16 06:01 denoll

Hi, how can I fix this bug? Thanks!

Date: Wed, 6 Jan 2016 22:47:13 -0800 From: [email protected] To: [email protected] Subject: [yii2-dynamicform] Hi, you have a bug in dynamicform in symfony/dom-crawler (#114)

Hi, you have a bug in dynamicform in symfony/dom-crawler:

Call to undefined method Symfony\Component\DomCrawler\Crawler::rewind()

In last version DomCrawler not have a rewind property

Fixsed please this bug

— Reply to this email directly or view it on GitHub.

lexen77 avatar Jan 07 '16 09:01 lexen77

Hello, I got the same error since i updated dynamicform widget for yii2 to its last version:

Call to undefined method Symfony\Component\DomCrawler\Crawler::rewind()

when i downgraded it to the previous version it works normaly again.

Please, Fix this bug in the last version.

GreymiGarcia avatar Jan 14 '16 01:01 GreymiGarcia

Try change the min=>1 to 0 or 0 to 1

'widgetItem' => '.item', // required: css class ....... 'min' => 1, // 0 or 1 (default 1) - '..... ......

leonardojulius avatar Feb 14 '16 08:02 leonardojulius

@leonardojulius it works, but also need to fix this bug.

zz avatar Jun 16 '16 08:06 zz

When this bug will fixed?. I have same error.

or are you guys have a solution?.

haifahrul avatar Jun 16 '16 17:06 haifahrul

@haifahrul use old version dom-crawler

        "symfony/dom-crawler": "2.8",
        "symfony/css-selector": "2.8",        
        "wbraganca/yii2-dynamicform": "*",

zz avatar Jun 17 '16 09:06 zz

Got the same issue today. Any workarounds rather than downgrading Symfony DOM Crawler?

HarishSTOnline avatar Oct 19 '19 18:10 HarishSTOnline

I had to downgrade - dom-crawler, css-selector and browser-kit. [https://github.com/wbraganca/yii2-dynamicform/issues/108#issuecomment-511770075](Crawler Error Fix For Dynamic Form). Does anyone test this fix ?

HarishSTOnline avatar Oct 20 '19 04:10 HarishSTOnline