Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Error: Warning: Invalid argument supplied for foreach() in htdocs/wp-content/sp-resources/forum-plugins/blog-linking/forms/sp-linking-form.php on line 22
Avatar
jessada
Member
Free Members
sp_UserOfflineSmall Offline
May 1, 2012 - 6:44 am

Please recommend how to fix this

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/www/virtual/fundmanagertalk.com/problem-with-post-edit-buttontdocs/wp-content/sp-resources/forum-plugins/blog-linking/forms/sp-linking-form.php on line 22

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 1, 2012 - 8:24 am

Where are you seeing this message please?
It may well need cleaning up but it does suggest you are running your site with php warnings set to be displayed and if that is the case you are likely to get a lot of them from various plugins etc. This is really not recommended.

Actually this is to do with your blog linking options. There are no 'types' enabled (i.e., 'post', 'page' etc). if you set one of those on then this warning will go away. We did have a small number of upgrades where this failed to be set as it should have been.

andy-signature.png
YELLOW
SWORDFISH
Avatar
jessada
Member
Free Members
sp_UserOfflineSmall Offline
May 1, 2012 - 9:17 am

Yellow Swordfish said
Where are you seeing this message please?
It may well need cleaning up but it does suggest you are running your site with php warnings set to be displayed and if that is the case you are likely to get a lot of them from various plugins etc. This is really not recommended.

Actually this is to do with your blog linking options. There are no 'types' enabled (i.e., 'post', 'page' etc). if you set one of those on then this warning will go away. We did have a small number of upgrades where this failed to be set as it should have been.

how can i set "php warnings" not to display?

Please noted that I've no knowledge about programming. And it's a bit too difficult for me to understand your explanation sometimes.

Many thanks for your help

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 1, 2012 - 11:20 am

You would have to ask your host to suppress warnings. It really is not a good idea to have them displayed but it is not something you can really do yourself unless you self-host of course.

Bit making sure that one of the post-types is checked on on the blog linking options in admin will remove that particular warning.

andy-signature.png
YELLOW
SWORDFISH
Avatar
jessada
Member
Free Members
sp_UserOfflineSmall Offline
May 1, 2012 - 11:23 am

Got you, thanks

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 1, 2012 - 8:39 pm

np. glad we could help.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626