SQL Error
-
The first time when the error popped up, I visited the plugins page. There was a notice next to the Namaste plugin stating that it needed to be updated, but the update was not compatible with my version of PHP. I updated PHP to v. 8.1, updated Namaste, but it is still the same. The [namaste-course-lessons 0 0 post_date ASC] shows nothing, while [namaste-enroll] shortcut results in the following:
WordPress database error: [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 ‘ASC’ at line 5]
SELECT * FROM bbb_posts tP JOIN bbb_postmeta tM ON tM.post_id = tP.ID AND tM.meta_key = 'namaste_course' AND tM.meta_value = 4903 WHERE post_type = 'namaste_lesson' AND (post_status='publish' OR post_status='draft') ORDER BY ASC
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.