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
Warning: in_array() expects parameter 2 to be array,
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 9, 2014 - 5:46 am

Well - of course we don't know if the invalid database query is caused by mismatched version or something else.

Error Log: Under the Toolbox menu.

Open it - first clear it out using the button at the bottom. Try and open a forum page and then return to the log and let me know what it says. JUST errors at the moment please. Not warnings or notices!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Paul Browning
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Sep 9, 2014 - 6:55 am

September 9, 2014 11:09 am | spaErrError | 1 | database


file: /problem-with-post-edit-buttonome/problem-with-post-edit-buttonowtonet/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-topic-view-class.php

line: 238

function: select

error: Unknown column 'attachments' in 'field list'

SELECT group_id, wp_sftopics.topic_id, wp_sftopics.forum_id, topic_name, topic_slug, topic_status, topic_pinned, topic_icon, topic_opened, wp_sftopics.post_count, forum_slug, forum_status, forum_disabled, forum_rss_private, wp_sfposts.post_id, post_date, wp_sfposts.user_id, guest_name, guest_email, post_status, post_pinned, post_index, post_edit, poster_ip, source, post_content, wp_sfwaiting.post_count AS new_post, blog_post_id, attachments, post_ratings, rating_id, vote_count, ratings_sum, ips, members, thanks, topic_watches FROM wp_sftopics JOIN wp_sfposts ON wp_sftopics.topic_id=wp_sfposts.topic_id JOIN wp_sfforums ON wp_sftopics.forum_id=wp_sfforums.forum_id LEFT JOIN wp_sfwaiting ON wp_sfposts.post_id=wp_sfwaiting.post_id LEFT JOIN wp_sfpostratings ON wp_sfpostratings.post_id = wp_sfposts.post_id WHERE wp_sftopics.topic_id=340 ORDER BY post_pinned DESC, wp_sfposts.post_id ASC LIMIT 0, 20

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 9, 2014 - 7:55 am

This should be sorted by upgrading all components. Did the upgrade to 5.5.1 go smoothly and without incident? Are you 100% sure that you ARE on 5.5.1 ?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 9, 2014 - 8:18 am

https://simple-press.com/docum.....g-plugins/

That has a paragraph about adding new plugins to your Simple:Press plugins folder. You will probably need to do this to update them if, for reasons unknown, WordPress is not behaving and giving you the updates. Just overwrite the individual existing plugin folders with the new versions.

Or - one thing you could try quickly. Deactivate the Simple:Press file uploader plugin and see if (a) the forum then displays correctly and (b) if the upgrade list comes back.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Paul Browning
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Sep 9, 2014 - 9:54 am

Yep - Version 5.5.1

All plugins now updated and it seems to have resolved the issue thanks.

regards

 

Paul

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 9, 2014 - 10:02 am

Excellent. And we will probably never know why WordPress failed to display them which is a nuisance.

andy-signature.png
YELLOW
SWORDFISH
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: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625