GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Bug] SQL error: unknown column t.solved_board in Topic Solved 1.3.1 · Issue #7 · SMFTricks/Topic-Solved

[Bug] SQL error: unknown column t.solved_board in Topic Solved 1.3.1 #7

New issue
Copy link
New issue
Copy link
Open
Open
[Bug] SQL error: unknown column t.solved_board in Topic Solved 1.3.1#7
Copy link

Description

@btechnix
btechnix
opened on Nov 8, 2026
Issue body actions

Basic Information

Hello Diego,

While testing Topic Solved 1.3.1 on SMF 2.1, I noticed a potential SQL error in Sources/Class-TopicSolved.php.

In the solve() method, the following query references t.solved_board:

SELECT t.id_topic, t.is_solved, t.id_first_msg,
       t.id_board, t.solved_board, m.id_member,
       b.solve_automove, b.solved_destination

However, the solved_board column does not exist in the topics table and is not created by the installation script (database.php).

Furthermore, t.solved_board does not appear to be used elsewhere in the method.

Expected behavior: Topics can be marked as solved or unsolved without SQL errors.

Potential error:

Unknown column 't.solved_board' in 'field list'

Suggested fix: Simply remove t.solved_board from the SELECT statement.

I tested this correction in a locally adapted package, and marking topics as solved and unsolved worked correctly.

Could you please confirm whether this is an oversight and consider including the correction in the official release?

Thank you for maintaining this useful modification!

Best regards,
Bruno

Steps to reproduce

Expected result

No response

Actual result

No response

Version/Git revision

1.3.1

PHP Version

8.4

Logs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.