Add listing page queries

This topic contains 38 replies, has 3 voices, and was last updated by  Kiran 5 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #515768

    iinz
    Lifetime Member
    Post count: 59

    I have separated Reset and Forgot pw pages still issues remains the same. Disabling other plugins and troubleshooting will take longer.

    I have copied the latest production to dev environment. The credentials are provided in my post at UsersWP forum. https://userswp.io/support/topic/social-login-add-on/page/2/

    If this helps you find the cause.

    #515806

    iinz
    Lifetime Member
    Post count: 59

    I have tested by disabling all plugins other than Geodirectory and related (UsersWP, Invoicing, Ninja form). Still issue is same.

    Another observations, after entering name and email id, the email is generated by system to user about account creation.

    #515808

    iinz
    Lifetime Member
    Post count: 59
    This reply has been marked as private.
    #515825

    iinz
    Lifetime Member
    Post count: 59

    While doing some google search (see attached jpg) on the error “You don not have the privileges to perform this action.”

    I found this program:
    https://github.com/wpdev10/geodirectory/commit/9421e23ce0bdbf5cd4b4eef9a88bca8d80f610c1

    There is spelling mistake in this error message. This can be good clue for you to debug. Please check your code. I am sure you shall find something useful.

    #516433

    Kiran
    Moderator
    Post count: 7069

    Hi suvadel,

    I have done some debugging and found that WPEngine cache causing this issue. To allow add listing for non-logged user we use cookie to store current user until user registered. This used to assign user used in add listing form.
    WPEngine object cache does not support cookie cache. This results in mis-match in post author with stored cookie for guest user and it shows error “You don not have the privileges to perform this action.”
    Please see https://wpengine.com/support/cache/#exclusions

    Please contact WPEngine Team about this issue and let us know what they say.

    Let us know.

    Regards,
    Kiran

    #516518

    iinz
    Lifetime Member
    Post count: 59

    Thanks Kiran.

    I contact WPEngine and here is their response:

    “what is the specific cookie you are referencing in your reply? WP Engine needs the cookie to exclude it from their caching.”

    #516555

    Kiran
    Moderator
    Post count: 7069

    We use _gd_logged_out_post_author cookie name.

    Kiran

    #517391

    iinz
    Lifetime Member
    Post count: 59

    Thanks Kiran and Alex. I use many paid plugins / themes. I must say support provided by wpgeodirectory is one of the best.

    About my issue: I contacted wpengine. Their recommendation is to use their object caching feature (https://wpengine.com/support/wp-engines-object-caching/) instead of using exclusion for a particular cookie. I have enabled it and bingo … no error.

    I hope this is good enough and the site speed will not be impacted.

    #517439

    Kiran
    Moderator
    Post count: 7069

    Thanks for the kind words.

    Just let us know if you see any issue.

    Kiran

Viewing 9 posts - 31 through 39 (of 39 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount