Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #857440

    CurtisTarantino
    Participant

    Hi there,

    Since I’ve updated the last version of converplug I receive a message on top of any of my dashboard pages.

    Warning: Invalid argument supplied for foreach() in /home4/curtisti/public_html/powerfitfusion.com/wp-content/plugins/convertplug/admin/bsf-core/auto-update/admin-functions.php on line 993

    I’ve tried to disable / enable the plugin, but it didn’t work. Not sure what to do.

    Thanks.

    #857904

    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #858214

    CurtisTarantino
    Participant
    This reply has been marked as private.
    #858280

    Christopher
    Moderator

    Hi there,

    Please update both X and cornerstone to latest version as this may fix the issue.

    Let us know how it goes.

    Thanks.

    #858322

    CurtisTarantino
    Participant

    Hi there,

    I’ve just updated both X and cornerstone and the issue persists.

    #858341

    Loren N
    Participant

    Yes, I’m getting this too. I’m fully updated.

    #858345

    Loren N
    Participant

    Actually, its gone now. Saw another update – seems to have fixed it.

    #858404

    Paul R
    Moderator

    Hi,

    Glad to know its fixed.

    Have a great day! ๐Ÿ™‚

    #858884

    CurtisTarantino
    Participant

    I’m still having the issue though

    #859799

    Rad
    Moderator

    Hi there,

    Your Cornerstone isn’t updated yet. I went ahead and updated from 1.2.1 to 1.2.2, a recent update is released ๐Ÿ™‚

    Then I added a temporary fix to skip the warning.

    if ( count($brainstrom_bundled_products) > 0 ) {
    		foreach($brainstrom_bundled_products as $bkey => $bp) {
    			if ( count( $bps ) > 0 ) {
    			foreach ($bps as $bkey => $bp) {
    				$plugin_abs_path = WP_PLUGIN_DIR.'/'.$bp->init;
    
    				if(!is_file($plugin_abs_path))
    					continue;
    
    				$temp = array();
    				if(!in_array($bp->id, $temp_bundled)) {
    					if(!isset($bp->remote))
    						break;
    					if(version_compare($bp->remote, $bp->version, '>')):
    						$temp = (array)$bp;
    					$temp['bundled'] = true;
    					array_push($update_ready, $temp);
    					endif;
    				}
    			}
    			}
    
    		}
    		}

    Thanks!

    #860436

    CurtisTarantino
    Participant

    That works perfectly now! Thanks a lot.

    Didn’t see the cornerstone update notification though.

    Thanks anyway.

    #860522

    Rue Nel
    Moderator

    Youโ€™re welcome!
    We’re glad we were able to help you out.