Forum Replies Created

Viewing 15 replies - 16 through 30 (of 33 total)
  • Thread Starter cleforweb

    (@cleforweb)

    Yes this is correct.

    Thread Starter cleforweb

    (@cleforweb)

    Thank you.
    Maybe I will join Slack Chat.

    In the meantime I ended up with [pods][pods name="hb_accommodation" template="Ex current" where="parent_house.id={@parent_house.ID}"][/pods] as that is the only working combination showing all accommodtions per house – tested with all plugins disabled and base theme.

    Without nesting I get Database Error; SQL: SELECT DISTINCTt.* FROMwp_postsAStLEFT JOINwp_podsrelASrel_parent_houseONrel_parent_house.field_id= 652 ANDrel_parent_house.item_id=t.IDLEFT JOINwp_postsASparent_houseONparent_house.ID=rel_parent_house.related_item_idLEFT JOINwp_icl_translationsASwpml_translationsONwpml_translations.element_id=t.IDANDwpml_translations.element_type= 'post_hb_accommodation' ANDwpml_translations.language_code= 'en' LEFT JOINwp_icl_languagesASwpml_languagesONwpml_languages.code=wpml_translations.language_codeANDwpml_languages.active= 1 WHERE ( (parent_house.id={@parent_house.id} ) AND (t.post_type= "hb_accommodation" ) AND (wpml_languages.codeIS NOT NULL ) AND (t.post_statusIN ( "publish" ) ) ) ORDER BYt.menu_order,t.post_title,t.post_dateLIMIT 0, 15; Response: 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 '@parent_house.id} ) AND (t.post_type= "hb_accommodation" ) AND (wpml’ at line 24`

    Also hb_accommodation is not Custom post type as I wrote in the first message but Post type extended.

    Thank you.

    Thread Starter cleforweb

    (@cleforweb)

    Just found out that shortcode entered to the post like this
    [pods][pods name="hb_accommodation" template="Ex current" where="parent_house.id={@parent_house.ID}"][/pods]
    is working so wp-config.php and functions.php are ok.
    Still get an error with a second part of where statement AND ID NOT IN ({@ID})
    So I want to exclude (hide) current post from the list.
    Thank you.

    Thread Starter cleforweb

    (@cleforweb)

    Thank you for answers and suggestions.

    I added code to wp-config.php and functions.php as stated on suggested link.

    Still no results (the same error). However when I enter code like this

    [pods name=”accommodation” template=”Ex current” where=”parent_house.id=573″]

    it is working (retrieving all accommodations for this house id). I did not entered second part of “where” statement because I didn’ know how to avoid brackets.

    Also after your first answer I entered double brackets but as you suggested

    AND ID NOT IN ({@ID})

    Anyhow I seems that error occurs when using brackets other than [].

    I double checked wp-config and functions code but still stuck with a same error.

    Thank you.

    Thread Starter cleforweb

    (@cleforweb)

    Thank you.

    Understood and tried this but got this error:

    Database Error; SQL: SELECT DISTINCT t.* FROM wp_posts AS t LEFT JOIN wp_icl_translations AS wpml_translations ON wpml_translations.element_id = t.ID AND wpml_translations.element_type = ‘post_hb_accommodation’ AND wpml_translations.language_code = ‘en’ LEFT JOIN wp_icl_languages AS wpml_languages ON wpml_languages.code = wpml_translations.language_code AND wpml_languages.active = 1 WHERE ( ( related_house.id={@573} AND ID NOT IN ({@574}) ) AND ( t.post_type = “hb_accommodation” ) AND ( wpml_languages.code IS NOT NULL ) AND ( t.post_status IN ( “publish” ) ) ) ORDER BY t.menu_order, t.post_title, t.post_date LIMIT 0, 15; Response: 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 ‘@573} AND ID NOT IN ({@574}) ) AND ( t.post_type = “hb_accommodation” ) AND ‘ at line 16

    Same problem here.
    Solved by changing PHP version to 5.6
    Regards.

    Thread Starter cleforweb

    (@cleforweb)

    OK. Thank you. This is a great plugin.

    Thread Starter cleforweb

    (@cleforweb)

    I used code with wp_deregister_style… and this works. I did not add helper css because I am not sure how to do it. Anyway Slick working without it so thank you!

    Thread Starter cleforweb

    (@cleforweb)

    Is there any solution for this. I have the same problem.

    Thread Starter cleforweb

    (@cleforweb)

    Thanks. That helped me a lot. As a matter of fact I was created .po and .mo files with Codestyling Localization plugin. The problem was that my country code should be in two letters. First solution was to create .po file with a poedit. Second solution is to rename .po file after translate it with a Codestyling plugin. Third solution is to keep Codestyling files as they are and change Polylang setting languages>locale from xx to xx_XX (x represents country code you are working on), also rename a flag file in the Polylang flags folder.

    cleforweb

    (@cleforweb)

    It looks like you solve this. Can you explain how?
    Thank you.

    Thread Starter cleforweb

    (@cleforweb)

    Just noticed that users with the editor role also have access to the booking calendars.

    Just checked Yahoo mail. Same situation. Replies work but every message sent with an easy contact form has a wordpress admin email in the “sent from field”. I removed “supeuser” email from users contact details, also changed “superuser” role to guest and… guess what I have now? – “Please log in” message which means not working plugin with all configurations and contact forms lost.

    It seems that this is a problem with Gmail additional accounts addresses. For some reason Gmail treats easy contact form like it was sent from the wordpress admin email. If that email is in Gmail additional accounts Gmail replies to “myself”. I removed that email from Gmail accounts and now replies working good but (always this but) if you view details of a received form in Gmail there is still wordpress admin email address in the “from” field. Recipient than think that this message was sent by a wordpress admin which is totally confused. And now I want to ask developers can this be resolved at least in pro version. I spent four hours to configure this plugin and now I think it is useless. Why? Because one hundred of my clients think that I sent them some enquiries which they treat like spam (or worst than this).

Viewing 15 replies - 16 through 30 (of 33 total)