Support Forum

sp-api-error.php on line 161

MT Mathew Tan
Mathew Tan
Member

Hi all…
I’ve update some of the plugins as indicated from wordpress.

After that when I proceed to try to add my signature image or avatar the page UI went to a white screen with text etc…
I went into my config and turn de-bug to true and found out the above err message.

plugins/simple-press/sp-api/sp-api-error.php on line 161

Any ideas guys?

Regards,

20 Answers

New Answer

MT Mathew Tan
Mathew Tan
Member

this is the actual message..  Though I reckon it’s about message 2?  Since its a SP-api?  I’m not sure as i’m a designer not a developer.  Any kind soul to help?  I’ve already uninstalled simple-press once and also wordpress all together.. Reinstalled but still the same. >.<“

—-

Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /problem-with-post-edit-buttonome/content/30/10030830/problem-with-post-edit-buttontml/wp-includes/functions.php on line 2638

Notice: Undefined index: insertid in /problem-with-post-edit-buttonome/content/30/10030830/problem-with-post-edit-buttontml/wp-content/plugins/simple-press/sp-api/sp-api-error.php on line 161

Warning: Cannot modify header information – headers already sent by (output started at /problem-with-post-edit-buttonome/content/30/10030830/problem-with-post-edit-buttontml/wp-includes/functions.php:2638) in /problem-with-post-edit-buttonome/content/30/10030830/problem-with-post-edit-buttontml/wp-content/plugins/simple-press/sp-startup/site/sp-ahah-handler.php on line 21

Notice: Undefined index: global in /problem-with-post-edit-buttonome/content/30/10030830/problem-with-post-edit-buttontml/wp-content/plugins/simple-press/sp-api/sp-api-auths.php on line 42

Overview (sgangler_admin)
YS Yellow Swordfish
Yellow Swordfish
Member

The ‘Notices’ are an annoyance (and we deal with them when we find them) but of no significance as such. The ‘Warning’ is also just a message and what caused the warning is the important thing which it doesnlt really give much help on.

So – nothing useful as such there.

Do I understand correctly that all you did was update SP plugins? Nothing else? No other WP updates of any sort?

If this is correct – could you by any chance briefly deactivate the ones you updated one at a time and then see if you still get the same problem?

MT Mathew Tan
Mathew Tan
Member

Yup I’ve just downloaded SP plugins update however it’s weird that WordPress is also asking me to download a patch which version was smaller then the latest.

Currently the site has NO plugin installed and the problem still persist.

YS Yellow Swordfish
Yellow Swordfish
Member

‘WordPress is also asking me to download a patch which version was smaller then the latest.’

I assume you don’t mean an SP plugin here? And you mean version number? I am not aware of any WP core updates at the moment.

So – to the problem. is this the only issue you have found – the signatures/avatar?

MT Mathew Tan
Mathew Tan
Member

Yeah just SP plugins only.. I could take a screenshot for u and yes it would be only the profile page. Not to mention the tiny ck editor doesn’t work as well with the forum. :)

YS Yellow Swordfish
Yellow Swordfish
Member

Do you mean tinyMCe editor?
Do you know how to use Firebug by any chance? We need to check for some script issues.
Actually – before you do that – could you empty your browser cache? Just in case some old scripts are still being loaded from the cache… and give things one more try…?

MT Mathew Tan
Mathew Tan
Member

Hi there.. thanks once again for the prompt reply as always… really grateful as I do need the forum up by 2nd Week November and all that is bugging me is the profile settings page where I get adjust and add signature etc.

Here’s my Specs in case you guys need to know
FireFox
Domain and host from GoDaddy.
WordPress version 3.4.2
MacBookPro

I’ve clear and empty my browser cache on firefox and the same problem comes out.  I believe firebug is from Chrome which I’ve used it before briefly.  What do you need from me to check on with firebug?

My apologies the plugins are indeed a version higher by one.  I was reading them wrongly.  However it still does not fix the issue at hand for the profile page :|

YS Yellow Swordfish
Yellow Swordfish
Member

The Firebug extension for Firefox is actually the best tool but yes – webkit browsers do now come bundled with some basic tools.

What you need – if you can – is to have the Firebug console open and then reload the profile page and make your change and let’s see if anything gets reported.

Or – if you are having issues with the editor – load a forum topic and click on reply to see what happens.

MT Mathew Tan
Mathew Tan
Member

Hi there..once again thanks for the kind support so far.
I’ve downloaded the firebug for firefox as needed and loaded the console.

When I enter the profile page it prompted me this err.

TypeError: $ is not a function

$(window).load(function() {

 

When I clicked on the profile button it still shows the white page and this was error it prompted.

ReferenceError: jQuery is not defined
jQuery(document).ready(function() {

I’m not sure but isn’t the () behind function wrong as normally they will have to open and then close a command? 
Anyway help to solve this would be great!!

MP Mr Papa
Mr Papa
Member

confused…  your image about versions seems to be correct… you have old version installed and the updater is telling you newer version are available…

for example… tinymce 1.2 installed… 1.2.1 available… thats newer…  file uploader 1.2.6 installed, 1.2.7 available… again newer…  every plugin in that screenshot shows a newer version available…

as Andy said the notice is really just a nuisance and we fix them as we come across them…

do you have link to site?  sounds like js conflict…

see:  http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

MP Mr Papa
Mr Papa
Member

couple problems… first your theme is doing bad things from a wp/js perspective…  its loading this

<script type=’text/javascript’ src=’http://sganglers.com/wp-content/themes/table/includes/js/jquery-ui-1.8.5.custom.min.js?ver=1.8.5′></script>

which then appears to be conflicting with the jquery ui that wp itself loads… and the wp version is newer…

see:  http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

secondarily, are you running any caching plugins??  your site is throwing errors on the forum page from:

http://d.envolve.com/4088D2A645C9488E17C0D41D2699E8B4.cache.js

which is some offsite js file…  do you know what that file is?  and why its loaded?  it could be potentially harmful unless you know what it is… and if you do, why it might be throwing errors…

MT Mathew Tan
Mathew Tan
Member

Ok… so for now.. I reckon, I will try to find a suitable theme which means a facelift which im alright.
Yeah I’m running a chat like thingy from evolved which I just installed it tonight.

I will take it down later in abit.  So if I would try to test by loading up a default wordpress theme.. remove the chat to see if the problem still exist.. will do so in abit :)

Thanks!