Home > Forum

Support Forum

Warning: Invalid argument error

Warning: Invalid argument error

Postby robert » Mon Sep 10, 2012 3:24 pm

Hi,

I'm getting this warning when in the settings (where you create shortcodes):

Code: Select all
Warning: Invalid argument supplied for foreach() in .../public_html/wp-content/plugins/shortcoder/shortcoder.php on line 260


Would like to know what I can do about it or if it's a bug.
Robert
robert
 
Posts: 1
Joined: Mon Sep 10, 2012 2:54 pm

Re: Warning: Invalid argument error

Postby hotspot » Wed Sep 19, 2012 11:58 am

I have the same problem!
How can we fix it?
hotspot
 
Posts: 5
Joined: Wed Sep 19, 2012 11:56 am

Re: Warning: Invalid argument error

Postby commercial » Wed Oct 10, 2012 6:23 pm

Similar issue here too ..., here the error msg:
Code: Select all
Warning: Invalid argument supplied for foreach() in /****/public_html/wp-content/plugins/shortcoder/shortcoder.php on line 263
commercial
 
Posts: 1
Joined: Wed Oct 10, 2012 6:19 pm

Re: Warning: Invalid argument error

Postby vaakash » Thu Oct 11, 2012 6:07 am

What version of Shortcoder you were using before ??
User avatar
vaakash
Site Admin
 
Posts: 724
Joined: Sun Jan 17, 2010 11:15 am
Location: India

Re: Warning: Invalid argument error

Postby phnetwork » Wed Oct 17, 2012 8:29 pm

I found that this warning went away after making the first shortcode
phnetwork
 
Posts: 1
Joined: Wed Oct 17, 2012 8:21 pm

Re: Warning: Invalid argument error

Postby vaakash » Thu Oct 18, 2012 8:18 am

I think I didn't check for empty arrays. I will fix it in the next version. Thanks for the note.
User avatar
vaakash
Site Admin
 
Posts: 724
Joined: Sun Jan 17, 2010 11:15 am
Location: India


 


  • Related topics
    Replies
    Views
    Last post


Return to Shortcoder

cron


phpBB SEO