Tagged: x
-
AuthorPosts
-
March 30, 2016 at 2:17 am #858271
I am receiving the following error when I log into my WP Dashboard:
Warning: Invalid argument supplied for foreach() in …….. plugins/convertplug/admin/bsf-core/auto-update/admin-functions.php on line 993
I will provide login details in a separate post, as I see that has been requested from others experiencing this issue. Thanks.
March 30, 2016 at 2:20 am #858277This reply has been marked as private.March 30, 2016 at 3:30 am #858342Hi there,
Please connect to FTP and make sure
define('WP_DEBUG', false);
is added in wp-config.php file.Hope it helps.
March 30, 2016 at 8:02 pm #859830The debug line is in the config file, but the issue persists. I have also updated to the latest version of Cornerstone and the error persists.
March 31, 2016 at 12:31 am #860186Hi,
Kindly update the code in wp-content/plugins/convertplug/admin/bsf-core/auto-update/admin-functions.php on approximately line no. 993 from
if(!empty($bsf_product_themes)) { foreach($bsf_product_themes as $key => $theme) { $version = (isset($theme['version'])) ? $theme['version'] : ''; $remote = (isset($theme['remote'])) ? $theme['remote'] : ''; if(version_compare($remote, $version, '>')) { array_push($temp_theme_update_ready, $theme); } } }
to this
if(is_array($bsf_product_themes) && !empty($bsf_product_themes)) { foreach($bsf_product_themes as $key => $theme) { $version = (isset($theme['version'])) ? $theme['version'] : ''; $remote = (isset($theme['remote'])) ? $theme['remote'] : ''; if(version_compare($remote, $version, '>')) { array_push($temp_theme_update_ready, $theme); } } }
If that doesn’t help please provide us your ftp login in private reply so we can check.
Thanks
April 2, 2016 at 2:13 am #863547This reply has been marked as private.April 2, 2016 at 11:57 am #863916Hi There,
I’ve just fixed this issue for you.
This issue has also been added to our list and it should be fixed in next updated.
Regards!
April 3, 2016 at 12:20 am #864335Thanks so much for your assistance!
April 3, 2016 at 7:32 am #864626You’re welcome.
-
AuthorPosts