christopherwayne
Forum Replies Created
-
Problem solved. Thanks
Hi @humayonk! Thanks! I will make the request soon.
Thanks, the last update fixed the problem of the active PHP session.
However, the problem in the html in the login form was not corrected.
Here is the code fragment that needs to be corrected:
if (isset($attr['wploginform']) && !$attr['wploginform']) { ob_start(); ?> <ul class="eb-sso-cont-login-btns"> <li><?php if ($gpLogin->loadDepend() && isset($ssoSettings['eb_sso_gp_enable']) && ($ssoSettings['eb_sso_gp_enable'] == 'both' || $ssoSettings['eb_sso_gp_enable'] == 'user_account')) { // if ($this->ebsso_check_if_google_plus_enabled() && isset($ssoSettings['eb_sso_gp_enable']) && ($ssoSettings['eb_sso_gp_enable'] == 'both' || $ssoSettings['eb_sso_gp_enable'] == 'user_account')) { echo $gpLogin->addGoogleLoginButton(); } ?></li> <li><?php if ($fbLogin->loadDepend() && isset($ssoSettings['eb_sso_fb_enable']) && ($ssoSettings['eb_sso_fb_enable'] == 'both' || $ssoSettings['eb_sso_fb_enable'] == 'user_account')) { // if ($this->ebsso_check_if_fb_enabled() && isset($ssoSettings['eb_sso_fb_enable']) && ($ssoSettings['eb_sso_fb_enable'] == 'both' || $ssoSettings['eb_sso_fb_enable'] == 'user_account')) { echo $fbLogin->addFacebookLoginButton(); } ?></li> <?php do_action("eb-sso-add-more-social-login-options-user-accnt-page"); ?> </ul> <?php return ob_get_clean(); } else { ob_start(); ?> <ul class="eb-sso-cont-login-btns"> <li><?php if ($gpLogin->loadDepend() && isset($ssoSettings['eb_sso_gp_enable']) && ($ssoSettings['eb_sso_gp_enable'] == 'both' || $ssoSettings['eb_sso_gp_enable'] == 'wp_login_page')) { // if ($this->ebsso_check_if_google_plus_enabled() && isset($ssoSettings['eb_sso_gp_enable']) && ($ssoSettings['eb_sso_gp_enable'] == 'both' || $ssoSettings['eb_sso_gp_enable'] == 'wp_login_page')) { echo $gpLogin->addGoogleLoginButton(); } ?></li> <li><?php if ($fbLogin->loadDepend() && isset($ssoSettings['eb_sso_fb_enable']) && ($ssoSettings['eb_sso_fb_enable'] == 'both' || $ssoSettings['eb_sso_fb_enable'] == 'wp_login_page')) { // if ($this->ebsso_check_if_fb_enabled() && isset($ssoSettings['eb_sso_fb_enable']) && ($ssoSettings['eb_sso_fb_enable'] == 'both' || $ssoSettings['eb_sso_fb_enable'] == 'wp_login_page')) { echo $fbLogin->addFacebookLoginButton(); } ?></li> <?php do_action("eb-sso-add-more-social-login-options-wp-login-page"); ?> </ul> <?php return ob_get_clean(); }
Specifically, this is what needs to be changed:
ob_flush();
It should be replaced by:
return ob_get_clean();
This change must be made in the class-sso-social-login.php file.
Thanks!
Hello Andy!
Indeed, there are problems with the way plugins use session_start () that goes against WordPress’s recommendations. In my case it happens in the Single Sign Up plugin, specifically in the login with facebook. You have to make several changes to solve the problem and the truth is that I have not had time to do it. The plugin support, despite being a paid plugin, hasn’t fixed it either. There are other coding errors in the same plugin that I have already mentioned before and that are very simple to solve, but there are still no solutions …
Cheers!
Amazing! All bugs with the SSO plugin remain unresolved after the update, they weren’t even addressed! This is starting to be absurd and I think I’m going to reflect it in a negative review so that those who decide to buy the plugin take it into account. I have had a lot of patience…
Hello @wisdmlabs!
I have sent an email
Thanks!
- This reply was modified 4 years, 2 months ago by christopherwayne.
I have found that the error is produced by the Edwiser Bridge SSO plugin in the file edwiser-bridge-sso/includes/social-login/facebook/class-sso-facebook-init.php
private function loadFacebookPlusConfig($option) { if ($option == false) { return; } $appId = $option['eb_sso_fb_app_id']; $appSecret = $option['eb_sso_fb_app_secret_key']; /* * Configuration and setup Google API */ include_once 'src/autoload.php'; if (session_status() == PHP_SESSION_NONE) { session_start(); } self::$fClient = new \Facebook\Facebook(array( 'app_id' => $appId, 'app_secret' => $appSecret, 'default_graph_version' => 'v2.10', 'persistent_data_handler' => 'session' )); self::$fClientHelper = self::$fClient->getRedirectLoginHelper(); self::$fOauth2Service = self::$fClient->getOAuth2Client(); //Add solution for WordPress API REST error session_write_close(); }
Temporal solution:
//Add solution for WordPress API REST error session_write_close();
No sir, they have not solved absolutely anything with the new update. I have been reporting problems with this plugin and the payment plugins for almost a year and they have not resolved any. I have even sent them the code that they need to change and they haven’t. I’ve never seen such terrible premium support. For example, in the Single Sign On plugin there is a coding problem that does not respect the WordPress standards that I have already reported to you by mail and included the solution, however nothing has been done about it.
This is the code in question:
edwiser-bridge-sso/public/shortcodes/class-sso-social-login.php
return ob_get_clean();
Etc…
- This reply was modified 4 years, 2 months ago by christopherwayne.
As expected, a month and a half later there are no solutions for this.
Hello again. No, the solution you have pointed out does not work to correct this problem.
I have checked and I get this error:
Certificate verification disabled (sslverify = false)
https://www.example.com/wp-json/wp/v2/types/post?context=editI have added the following code to my function.php file and with it the above error disappears, but I keep getting error 28 cURL …
add_filter (‘https_ssl_verify’, ‘__return_true’, PHP_INT_MAX);
add_filter (‘http_request_args’, ‘http_request_force_ssl_verify’, PHP_INT_MAX);
function http_request_force_ssl_verify ($ args) {
$ args [‘sslverify’] = true;
return $ args;
}So I think this wordpress error has to do with ssl certificate validation. Edwiser Bridge apparently disables that option in WordPress and this causes this problem.
Regards.
- This reply was modified 4 years, 8 months ago by christopherwayne.
- This reply was modified 4 years, 8 months ago by christopherwayne.
Hello again. I think you have not understood my problem.
Error: cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes
This error occurs on the WordPress site at the “global” level. WordPress throws the error message when checking the health status of the site.
It only happens with Edwiser Bridge activated, so the problem is caused by this plugin.
I have been seeing that this problem may be related to ssl certificate validation. Either way it is a problem that only occurs with Edwiser Bridge active. If this plugin is disabled, the cURL error 20 goes away.
Anyway, it is really unfortunate that the support service of your plugins does not attend to the problems of the users that we have paid for the use of these plugins. The technical service is lousy, so I have stopped writing to you. It is something that those who see this comment should consider before choosing to use this plugin and the other paid plugins: the developers will NOT take care of the problems in a timely manner.
Hello! Thanks for the quick response. Yes, the problem seems solved. Woocommerce product page now returns a 404 error. Great!
Best regards
Hello! Thank you very much for the reply. I am making the discounts through coupons configured from WooCommerce. However, a discount system like Woocommerce would be much more effective, in which the products show their price and then the discounted price next to it. When you pay, the cart gets the discount price without the need for a discount code and the discounted products appear marked with a label on the image. That would be great in the event plugin!
Thanks a lot for the plugin! It is really fantastic. I am in love with its features.
Cheers!
@aamahin Thank you! I already tried and everything works correctly. The plugin is wonderful and this update fixes the issues that I had previously encountered.
I have a suggestion: it would be perfect if you could customize the slug in the plugin configuration for which we need to change the default “events” for another. It is important for SEO and for more cleanliness on websites. For example, I am using the plugin for courses and in the url it would be great to see “courses” instead of “events”. At the moment I am editing the plugin code to get it.
Congratulations on the excellent technical support. Much success!
Hola Fernando, estoy experimentando el mismo problema con el plugin. Alguna respuesta o solución hasta ahora? Saludos!