• Hello,

    The only code i have on my page is [dg] yet I keep getting this error on the page:

    The order parameter may only be “ASC” or “DESC.” You entered “.”

    The orderby value entered, “,” is not valid.

    The relation parameter may only be “AND” or “OR.” You entered “.”

    Any guidance you can offer is appreciated.
    thank you

    https://wordpress.org/plugins/document-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    Hi joekodak,

    That is quite odd. Just to make sure I understand correctly, you are using exactly this (and nothing else): [dg]?

    If that’s the case then that is definitely something I have not seen before. My first recommendation is for you to uninstall Document Gallery and re-install. The only thing I can immediately think of is that something in the database was corrupted and the reinstall should wipe the issue. If it’s not that then it’s some odd issue that is specific to you’re system and I’ll need to collect more details about your system in order to maybe recreate the issue, but let’s start with the easy stuff first.

    -Dan

    Thread Starter joekodak

    (@joekodak)

    Thank you for the quick reply. Yes there is some history with this. My original shortcode used was “[dg descriptions=false orderby=title] “. I then updated the plugin and started to receive the error. Now no matter what I do, even now using just [dg] this same error comes up. I’ve uninstalled and deleted the plugin, re-installed it and re-activated and still getting the same result. So yes I think you are right when you say something is now messed up in the database. Now how would I go about fixing this? lol thanks for your help!

    Plugin Author Dan Rossiter

    (@danrossiter)

    joekodak,

    Unfortunately the next step to debug is more involved. We’re going to need to pull a value directly out of the database. Knowing exactly what Document Gallery is looking at, I may be able to get a better grasp on what you are running into.

    The query we need to run is this:

    SELECT option_value FROM wp_options WHERE option_name = 'document_gallery'
    (Note that “wp_options” could have a prefix other than “wp_” depending on your config settings.)

    Without knowing how your server is setup, unfortunately I can’t be a whole lot of help in telling you how to get to a console where you will be able to run that query.

    If you run into issues, please let me know and I will do what I can to help further.

    -Dan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error’ is closed to new replies.