Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to fix $crtDurSettings #1

Open
Manaus opened this issue Sep 28, 2016 · 0 comments
Open

Trying to fix $crtDurSettings #1

Manaus opened this issue Sep 28, 2016 · 0 comments

Comments

@Manaus
Copy link

Manaus commented Sep 28, 2016

Hello, I'm trying to fix the extension for 2.6.7, but I think it's a bit overhead for me.
The error seems to be at line 92, in_array() expects parameter 2 to be array, null given.
Line 92 is in this block:

foreach ($this->durSettings as $durSetting) {
                $options[] = array(
                    $durSetting,
                    in_array($durSetting, $crtDurSettings),
                    $durSetting
                );
            }

So $crtDurSettings is null. Definition is

$crtDurSettings = $this->get('settings')

Where does it get these settings from? (sorry I'm quite noob, but I'd like to use the extention).
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant