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
Fatal error: Call to undefined function sp_construct_database_error()
Avatar
xberserker
Member
Free Members
sp_UserOfflineSmall Offline
Feb 29, 2012 - 1:56 pm

Fatal error: Call to undefined function sp_construct_database_error() in /problem-with-post-edit-buttonome/me/public_html/wp-content/plugins/simple-press/sp-api/sp-api-wpdb.php on line 193

Today I've been getting this error off and on. Doesn't matter if I'm viewing a blog post or in the forum. When I click on the admin post bag. I sometimes get that error as well.

 

Here is what the Simple:Press Toolbox - Error Logs says:

 

Date Type Description
02.29.2012

12:56 pm

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

12:56 pm

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

12:53 pm

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

12:53 pm

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

12:53 pm

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

12:52 pm

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

12:52 pm

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

12:31 pm

php file: /simple-press/forum/content/forms/sp-form-search.php

line: 71

function: sp_render_inline_search_form

Notice | Trying to get property of non-object

02.29.2012

12:31 pm

php file: /simple-press/forum/content/forms/sp-form-search.php

line: 71

function: sp_render_inline_search_form

Notice | Trying to get property of non-object

02.29.2012

12:31 pm

php file: /simple-press/forum/content/forms/sp-form-search.php

line: 71

function: sp_render_inline_search_form

Notice | Trying to get property of non-object

02.29.2012

12:31 pm

php file: /simple-press/forum/content/forms/sp-form-search.php

line: 71

function: sp_render_inline_search_form

Notice | Trying to get property of non-object

02.29.2012

12:31 pm

php file: /simple-press/forum/content/forms/sp-form-search.php

line: 71

function: sp_render_inline_search_form

Notice | Trying to get property of non-object

02.29.2012

12:31 pm

php file: /simple-press/forum/content/forms/sp-form-search.php

line: 71

function: sp_render_inline_search_form

Notice | Trying to get property of non-object

02.29.2012

12:30 pm

php file: /simple-press/forum/content/forms/sp-form-search.php

line: 71

function: sp_render_inline_search_form

Notice | Trying to get property of non-object

02.29.2012

12:30 pm

php file: /simple-press/forum/content/forms/sp-form-search.php

line: 71

function: sp_render_inline_search_form

Notice | Trying to get property of non-object

02.29.2012

11:29 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

11:28 am

php file: /simple-press/forum/content/forms/sp-form-search.php

line: 71

function: sp_render_inline_search_form

Notice | Trying to get property of non-object

02.29.2012

11:17 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

11:17 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:20 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:20 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:20 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:20 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:20 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:15 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:15 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:13 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:13 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:13 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:13 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:12 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:12 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:12 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:09 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:05 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:05 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

10:05 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:31 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:31 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:31 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:30 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:30 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:30 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:26 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:26 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:26 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:26 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:21 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:21 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:10 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

02.29.2012

4:10 am

php file: /simple-press/sp-startup/admin/spa-admin-menu.php

line: 79

function: spa_setup_admin_menu

Notice | Use of undefined constant WPLANG - assumed 'WPLANG'

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 29, 2012 - 2:37 pm

(Could we respectfully ask everyone that when they paste entries, like this they could perhaps stick to one entry of each. There are only three separate issues in this long list - the rest are just duplicates. And none of them are actual errors - just notices.)

And in your case you really should define WPLANG in your wp-config,php file where it belongs!

OK - to the real error. Can you perhaps check in the plugin folder to see if the file is actually there?

/sp-api/sp-api-error./php

There should be no reason for it not to be and for it to be usable - and we have no other reports of this and indeed it is fine here. Might be corruoted I guess.

andy-signature.png
YELLOW
SWORDFISH
Avatar
xberserker
Member
Free Members
sp_UserOfflineSmall Offline
Feb 29, 2012 - 2:44 pm

Sorry about that, I'd edit that post if I could. But I guess the time period has passed.

 

I checked and the file is there, here are the full contents of the file (11.44 KB) - http://pastebin.com/UVa2023c

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 29, 2012 - 3:06 pm

Good thinking to paste it out there but that was the wrong file! smile

That was the sp-api-db.php file and the one we need is the sp-api-error.php...

Can you do the same with that?

andy-signature.png
YELLOW
SWORDFISH
Avatar
xberserker
Member
Free Members
sp_UserOfflineSmall Offline
Feb 29, 2012 - 3:10 pm

Opps, sorry. The sp-api-error.php file is there (5.64 KB) http://pastebin.com/TiDUrM7y

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 29, 2012 - 8:27 pm

first as Andy says, the WP_LANG definition is standard in the wp config and really should be there...

not sure why Andy wanted the file, if only to make sure it existed?

can you access the file via url in your browser?  would make sure its web accessible...

do you know when and where that occurs?  can you fix your wp config, clear out the error log, and then visit pages until it occurs and get fresh data from the error log?

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625