PHP Warnings
-
Hi! Before I say anything, I think this plugin is awesome.
The only real problem I found is that, in some pages that are not using panels, I got the following PHP warnings:
Warning: Illegal string offset 'grids' in /path-to-wordpress/wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 636 Warning: Invalid argument supplied for foreach() in /path-to-wordpress/wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 636 Warning: Illegal string offset 'widgets' in /path-to-wordpress/wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 644 Warning: Invalid argument supplied for foreach() in /path-to-wordpress/wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 644 Warning: Illegal string offset 'grids' in /path-to-wordpress/wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 466 Warning: Invalid argument supplied for foreach() in /path-to-wordpress/wordpress/wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 466
Maybe you’d want to consider checking if the array values are set before calling the foreach. I did that in my implementation, but it will break if I update the plugin again, and I really like to keep my plugins up to date.
Thank you very much for your great work!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP Warnings’ is closed to new replies.