Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7757481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:06:23+00:00 2026-06-01T13:06:23+00:00

Currently I am working on a SilverStripe project, and everything seems to be running

  • 0

Currently I am working on a SilverStripe project, and everything seems to be running smooth.
But then things changed.. This morning I tried to login and I got the message that an error occured.
Running in development mode gave the following errormessage:

[User Error] Couldn’t run query: SELECT “SiteTree_Live”.”ClassName”,
“SiteTree_Live”.”Created”, “SiteTree_Live”.”LastEdited”,
“SiteTree_Live”.”URLSegment”, “SiteTree_Live”.”Title”,
“SiteTree_Live”.”MenuTitle”, “SiteTree_Live”.”Content”,
“SiteTree_Live”.”MetaTitle”, “SiteTree_Live”.”MetaDescription”,
“SiteTree_Live”.”MetaKeywords”, “SiteTree_Live”.”ExtraMeta”,
“SiteTree_Live”.”ShowInMenus”, “SiteTree_Live”.”ShowInSearch”,
“SiteTree_Live”.”HomepageForDomain”,
“SiteTree_Live”.”ProvideComments”, “SiteTree_Live”.”Sort”,
“SiteTree_Live”.”HasBrokenFile”, “SiteTree_Live”.”HasBrokenLink”,
“SiteTree_Live”.”Status”, “SiteTree_Live”.”ReportClass”,
“SiteTree_Live”.”CanViewType”, “SiteTree_Live”.”CanEditType”,
“SiteTree_Live”.”ToDo”, “SiteTree_Live”.”Version”,
“SiteTree_Live”.”ParentID”,

Read full error message: http://pastebin.com/TrjrEzUn

... WHERE ("SiteTree_Live"."ClassName" IN ('Page','BlogEntry','BlogTree','DienstHolder','DienstPage','FaqHolder','FaqPage','FrontPage','MemberPage','TeamPage','ErrorPage','RedirectorPage','VirtualPage','UserDefinedForm','BlogHolder')) AND (ParentID = ) ORDER BY "Sort" You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY "Sort"' at line 1 
GET /Security/login?BackURL=%2Fadmin

Line 525 in /home/admin/domains/stargroup.nl/public_html/sapphire/core/model/MySQLDatabase.php

I checked mysql on empty classnames, some where found but got their proper classname.
Anyone has any suggestions on how to overcome this error and get the login back to working again?

Thnx in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T13:06:24+00:00Added an answer on June 1, 2026 at 1:06 pm

    Bug is fixxed thanks to Bollig|DesignCity in the SilverStripe IRC Channel.

    It all had to do with some code in page.php

    Wrong code

        function Siblings() { 
           $whereStatement = "ParentID = ".$this->ParentID; 
        return DataObject::get("Page", $whereStatement); 
        }
    

    Fixed Code
    Note to self: Always be aware of small mistakes like this..

        function Siblings() { 
           $whereStatement = "ParentID = '".$this->ParentID."'"; 
        return DataObject::get("Page", $whereStatement); 
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im currently working on a c# project that uses another .net library. This library
Currently working on a project that is being developed in VS2010. I'm running Windows
Currently working on a flex AIR project based on PureMVC framework. There was a
I currently working on a project which uses Spree Cart and which has hence
im currently working on a project that involves listing contacts with a photo and
Im currently working on a project that requires the following. I need to be
I'm currently working on an alternative way to view the threads and messages. But
I am currently working on a MYSQL project which has a few fairly standard
Currently working with Oracle, but will also need a solution for MS SQL. I
Currently working on a project with the cloud / azure and windows phone 7,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.