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

Undefined index selectors in css-file.php #1923

Closed
andreasnrb opened this issue Jun 29, 2017 · 1 comment
Closed

Undefined index selectors in css-file.php #1923

andreasnrb opened this issue Jun 29, 2017 · 1 comment

Comments

@andreasnrb
Copy link

I get a notice and warning.

Notice: Undefined index: selectors in [...]/web/app/plugins/elementor/includes/css-file/css-file.php on line 132
Warning: Invalid argument supplied for foreach() in [...]/web/app/plugins/elementor/includes/css-file/css-file.php on line 132

Steps to reproduce

It happenes somewhat randomly. Might be after visiting pages after a template has been saved. But since its not always that way hard to tell. On refresh it disappears.

Workaround

Check if selectors index is set if not bypass loop.

Environment

Version 1.4.9, 1.4.10 and 1.5.1.

@arielk
Copy link
Member

arielk commented Jul 9, 2017

Fixed for the next version: #1979

Thanks for your report!

@arielk arielk closed this as completed Jul 9, 2017
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

2 participants