Support Forum

Error Report

DA Darthmonk
Darthmonk
Member

Forum seems to be working fine,however I get this error comes up in tool box-should I worry about it…

file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object

12 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Can you give me any further details? Which tool box?

DA Darthmonk
Darthmonk
Member

This was from the tool box back end/Tool box clicking error logs

Error Log

Date Type Description
July 25, 2012
9:37 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
July 25, 2012
9:37 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
July 25, 2012
9:37 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
July 25, 2012
9:37 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
July 25, 2012
9:34 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
July 25, 2012
9:34 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
July 25, 2012
9:34 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
July 25, 2012
9:34 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
July 25, 2012
9:34 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
July 25, 2012
9:34 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
July 25, 2012
9:34 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
DA Darthmonk
Darthmonk
Member

Having posted all that the forum seems to be working ok,just was curious of error log-thank you for your time!!

YS Yellow Swordfish
Yellow Swordfish
Member

We will get to the bottom of it… thanks

DA Darthmonk
Darthmonk
Member

I seem to have another Error log from the toolbox,just wondered if this is a serious problem or not

August 16, 2012
10:24 pm
php file: /simple-press/forum/content/classes/sp-forum-view-class.php
line: 364
function: sp_forumview_query
Notice | Uninitialized string offset: 0
August 16, 2012
10:24 pm
php file: /simple-press/forum/content/classes/sp-forum-view-class.php
line: 364
function: sp_forumview_query
Notice | Uninitialized string offset: 0
MP Mr Papa
Mr Papa
Member

sounds like you are running old version… that was updated in SP 5.1.3…

DA Darthmonk
Darthmonk
Member

No have 5.1.3 update everytime you show up in updates with WordPress..

This was in error log today

August 18, 2012

12:28 pm

database file: /problem-with-post-edit-buttonome/mysites/public_html/syma107.com/wp-content/sp-resources/forum-plugins/private-messaging/sp-pm-plugin.php

line: 157

function: sp_pm_do_upgrade_check

error: Can’t DROP ‘sender_id’; check that column/key exists

ALTER TABLE wp_sfpmattachments DROP sender_id

August 16, 2012

10:24 pm

php file: /simple-press/forum/content/classes/sp-forum-view-class.php

line: 364

function: sp_forumview_query

Notice | Uninitialized string offset: 0

MP Mr Papa
Mr Papa
Member

first one is meaningless and unimportant… ;)

cannot duplicate the second one currently and it was fixed… so perhaps you can paste that line 364 here… I need to verify it was fixed in 5.1.3 and not 5.1.4 (in dev)…

DA Darthmonk
Darthmonk
Member

When you say post line 364 do you mean from theme editor,sorry bit dumb on that,or can use cuteftp to pick up that area if know where to look..

YS Yellow Swordfish
Yellow Swordfish
Member

it means you need a text editor with line numbers! Do you use a PC with Windows? Does Notepad+ or whatever it is called allow you to have line numbers? And we might be able to do this a different way.

OL oldsaint
oldsaint
Member

I was just searching for a fix to this same error

file: /simple-press/forum/content/classes/sp-forum-view-class.php
line: 364
function: sp_forumview_query
Notice | Uninitialized string offset: 0

Current versions SP 5.1.3 WP 3.4.1

Is this the line you are looking for.

wp-content/plugins/simple-press/forum/content/classes/sp-forum-view-class.php

Line 364 from above file

if ($spThisUser->member && is_array($spThisUser->newposts[‘topics’]) && in_array($tidx, $spThisUser->newposts[‘topics’])) $f[$fidx]->topics[$tidx]->unread = 1;

 

If I should have started a separate thread I apologize.

MP Mr Papa
Mr Papa
Member

First, it’s not an error – its a notice and harmless. That said, we still try to get rid of them when they occur. Thought we had removed this one and had multiple confirmations, but will take a closer look at the code again.