Abundance of PHP warnings just by visiting Tools/Child Themes
-
Hello,
Just wanted to try out your plugin (v.2.2.7) on a site of ours using WordPress v4.7.5 , Linux server with PHP v5.6.30
All we did was activate the plugin and went over to Tools/Child Themes.
Checked our error-log and found:Jul 09, 22:28:05 PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/child-theme-configurator/includes/classes/CSS.php on line 1946 Jul 09, 22:28:05 PHP Warning: preg_grep() expects parameter 2 to be array, boolean given in /wp-content/plugins/child-theme-configurator/includes/classes/CSS.php on line 1945 Jul 09, 22:28:05 PHP Warning: array_search() expects parameter 2 to be array, boolean given in /wp-content/plugins/child-theme-configurator/includes/classes/CSS.php on line 502 Jul 09, 22:28:04 PHP Warning: array_flip() expects parameter 1 to be array, boolean given in /wp-content/plugins/child-theme-configurator/includes/classes/CSS.php on line 318 Jul 09, 22:28:04 PHP Warning: asort() expects parameter 1 to be array, boolean given in /wp-content/plugins/child-theme-configurator/includes/classes/CSS.php on line 314 Jul 09, 22:28:03 PHP Warning: array_values() expects parameter 1 to be array, boolean given in /wp-content/plugins/child-theme-configurator/includes/classes/CSS.php on line 1954
As you can see it all happened within 1 second.
The same thing happens very time we re-visit the page.
Could you please help? Any ideas?thanks
PS: Needless to say we didn’t even try to test further after that 🙁
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Abundance of PHP warnings just by visiting Tools/Child Themes’ is closed to new replies.