Invalid argument Error

2 views
Skip to first unread message

Morbid Romantic

unread,
Aug 25, 2008, 11:20:51 PM8/25/08
to LivePress Plugin
I just installed this for a friend. I activated and installed the
plugin. Then I went to the settings page to enter in the settings and
down in the section Live+Press Email Crossposting, it has these
errors:

Warning: Invalid argument supplied for foreach() in /home/.gracious/
spiritualcramp/spiritualcramp.baptism-of-blood.net/wp-content/plugins/
livepress/LivePress/lpextras.php on line 178

Default Friends List:

Warning: Invalid argument supplied for foreach() in /home/.gracious/
spiritualcramp/spiritualcramp.baptism-of-blood.net/wp-content/plugins/
livepress/LivePress/lpextras.php on line 211

Post to:
Username:
Warning: Invalid argument supplied for foreach() in /home/.gracious/
spiritualcramp/spiritualcramp.baptism-of-blood.net/wp-content/plugins/
livepress/LivePress/lpextras.php on line 137

digsite

unread,
Aug 26, 2008, 10:10:08 AM8/26/08
to LivePress Plugin
which version of livepress are you useing? version 2.1.2 which I
released last night might address this issue.

-Tania

Panya Covin-Gwynn

unread,
Aug 26, 2008, 10:15:47 AM8/26/08
to livepre...@googlegroups.com
I recall this error from untein's version and I think it's related to
getting the data from livejournal. Is there a cutout that can be
added to that function(s) to kill the error if no data is returned?

digsite

unread,
Aug 26, 2008, 11:00:47 AM8/26/08
to LivePress Plugin
The problem (I think ) is due to foreach trying to access an empty
array. $journals. Which I'm assuming you are trying to create a new
post before you setup a journal OR you have the wrong journal
password and lpextras is pulling nothing for userpics, security, etc.

try 2.1.3. Again, I wish I could duplicate the problem so I can be
sure this fixes it for you. I'll have to rely on you to tell me if
this is resolved.

thanks!
-T

morbid romantic

unread,
Aug 26, 2008, 2:33:36 PM8/26/08
to livepre...@googlegroups.com
Thank you so much everyone.  <3  I upgraded to the newest release and most of the errors seemed to have cleared up.  Now I only have this one:
Warning: Invalid argument supplied for foreach() in /home/.gracious/spiritualcramp/spiritualcramp.baptism-of-blood.net/wp-content/plugins/livepress/LivePress/lpextras.php on line 186

I did a test post and it crossposted to the livejornal and my username/friends security option went through fine.  So, I guess the error isn't messing anything up as far as the plugin functioning.  :)


Valorie

digsite

unread,
Aug 26, 2008, 2:56:03 PM8/26/08
to LivePress Plugin
ok i've got that one too. redownload 2.1.4.

On Aug 26, 2:33 pm, "morbid romantic" <morbidroman...@gmail.com>
wrote:
> Valorie*
> *
Reply all
Reply to author
Forward
0 new messages