Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Unified theme FATAL ERROR
Avatar
Toby Jacobs
Member
sp_UserOfflineSmall Offline
Aug 17, 2016 - 4:20 am

HI,

 

I've just uploaded the Unified them and I've got this error:

 

Fatal error: Call to undefined function sp_MarkForumRead() in /home/content/08/11346408/html/wp-content/sp-resources/forum-themes/unified/templates/spHead.php on line 246

 

Line 246 reads:

sp_MarkForumRead('tagClass=spMarkForumRead spRight', __sp('Mark forum read'), __sp('Mark all topics in this forum read'));

 

Please tell me what I have to do to fix the error.

 

Cheers

 

Toby

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 17, 2016 - 4:35 am

Well - these functions do, of course, exist.

So first question. Where are you actually locating these SP plugins? Are you putting them in the WordPress plugin folder which is not the right place. Simple:Press defines it's own plugins folder and the location for that is shown in various places in the admin but specifically at the top of the forum admin > Plugins list - or - forum admin > integration > storage locations.

There is also a codex article explaing this: https://simple-press.com/docum.....g-plugins/

So let's check this first

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 17, 2016 - 4:37 am

Sorry  just realised this is a theme not a plugin. But the same applies - different location for SP themes as well...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Toby Jacobs
Member
sp_UserOfflineSmall Offline
Aug 17, 2016 - 4:53 am

Everything is uploaded in the correct location:

wp-content/sp-resources/forum-themes/

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 17, 2016 - 5:09 am

Then that truly is bizarre and quite, quite unique. And the same applies to the similar plugin issue. Clearly these functions do exist and are loaded - we are using them here along with all other users.

So... can I assume this is an up to date version of the SP core plugin?

An could you take a look n your php error log to see if there are any other issues? I would have thought the only reason not to find a function is if some code files are not being loaded when they should be and that might possibly show up in the error log.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Toby Jacobs
Member
sp_UserOfflineSmall Offline
Aug 17, 2016 - 5:34 am

Actually, it was not an up to date version of the plugin. I have just updated the plugin and wordpress to the latest versions. Unfortunately it did not fix anything.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 17, 2016 - 5:58 am

The theme you are currently using does not look to be up to date either. Unless your WP theme is having a bigger impact on the CSS styling that expected.
Do you have any other SP related updates awaiting in the WP Admin Update page?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Toby Jacobs
Member
sp_UserOfflineSmall Offline
Aug 17, 2016 - 6:30 am

As far as I can see everything else is up to date.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 17, 2016 - 6:36 am

So - anything in the error log? You can look in the forum admin > tools section. We are really just talking actual errors - i.e, the pink ones...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Toby Jacobs
Member
sp_UserOfflineSmall Offline
Aug 17, 2016 - 6:55 am

This is the only error in there:

 

August 17, 2016 8:35 am | spaErrError | 7 | database

file: /home/content/08/11346408/html/wp-content/sp-resources/forum-plugins/subscriptions/sp-subscriptions-plugin.php
line: 348
function: sp_subscriptions_do_upgrade_check
error: Unknown column 'subscribe' in 'field list'

SELECT user_id, subscribe FROM wp_sfmembers WHERE subscribe != ''

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