Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Facebook 'like' button not displayed | Event Espresso - Staging Server

Support

Home Forums Social Media Buttons Facebook 'like' button not displayed

Facebook 'like' button not displayed

Posted: November 24, 2013 at 1:51 pm

Viewing 3 reply threads


Cristi Constantin

November 24, 2013 at 1:51 pm

Even though the FB button is displayed at /event-registration?ee=5, it is not displayed at /event-registration?regevent_action=register&event_id=5. Meanwhile, the tweet and Google+ button display just fine.
Using: 3.1.35.2.P EE version and 1.1.6.p social plugin version.


Sidney Harrell

  • Support Staff

November 25, 2013 at 12:04 pm

It looks like the facebook API requires the page to match what is put in the data-href attribute. Try opening up plugins/espresso-social/espresso-social.php and go to line 231:

$registration_url = $permalink . '?ee=' . $event_id;

Try replacing it with something like:

if (!empty($_GET['event_id'])) {
   $registration_url = $permalink . '?regevent_action=register&event_id=' . $event_id;
} else {
   $registration_url = $permalink . '?ee=' . $event_id;
}

and see if that fixes it.


Cristi Constantin

November 28, 2013 at 7:01 am

Sorry, I don’t mean to be rude, but I don’t really have time to test this, and I guess it should be on your side, as it is a generic failure (isn’t it?) and it is not caused by my site’s customization.
Thank you for your understanding.


Josh

November 29, 2013 at 8:06 am

Thank you for your feedback.

Viewing 3 reply threads

The support post ‘Facebook 'like' button not displayed’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server