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 | array_key_exists()
Avatar
oldsaint
Riverview, FL
Rookie
Free Members
sp_UserOfflineSmall Offline
Jul 18, 2012 - 10:46 am

First I can't thank this forum enough for the info that is available. When I came here over a year ago I knew nothing about simple press or WP and very little about code. During that time I've learned enough to maintain our club's website, completely reconstruct another site and to realize just how much I haven't got a clue on. lol embarassed

Thank you, Thank you!

 

I have a couple of errors that are popping up in my log that I haven't been able to find an answer for.

First:

 file: /simple-press/sp-api/sp-api-filters.php

line: 1242

function: parse_url

Warning | parse_url(/s1104.photobucket.com/albums/problem-with-post-edit-button324/trickimaster/?action=view&amp;current=seahorse3.jpg" target="_blank"><img src="http:/i1104.photobucket.com/albums/problem-with-post-edit-button324/trickimaster/seahorse3.jpg" border="0" alt="Photobucket"></a>) [function.parse-url]: Unable to parse URL

This is line 1242

$parsed = parse_url($src[1]);

Second:

file: /simple-press/sp-api/sp-api-filters.php

line: 1243

function: array_key_exists

Warning | array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object

This is line 1243

if (array_key_exists('scheme', $parsed)) {

 

A couple of weeks ago I thought I found the photo seahorse3.jpg and deleted it from the site figuring if I'm not smart enough to fix the error then I'll just remove what's causing it. Well, that didn't work.

Any help or direction is greatly appreciated.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 18, 2012 - 1:50 pm

Do you know how the url got into a post? It looks a little to me like someone has pasted the url in after it has been urlencoded instead of pasting in the raw url.

I would suggest the best method would be to edit the post and repair the actual url which seems to simply be:

s1104.photobucket.com/albums/problem-with-post-edit-button324/trickimaster/?action=view¤t=seahorse3.jpg

andy-signature.png
YELLOW
SWORDFISH
Avatar
oldsaint
Riverview, FL
Rookie
Free Members
sp_UserOfflineSmall Offline
Jul 18, 2012 - 3:13 pm

Thank you.

 

Fixed!

 

That was too easy. I should have caught that. embarassed

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 18, 2012 - 8:08 pm

np. we are glad to 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