Title: christopherwayne's Replies | WordPress.org

---

# christopherwayne

  [  ](https://wordpress.org/support/users/christopherwayne/)

 *   [Profile](https://wordpress.org/support/users/christopherwayne/)
 *   [Topics Started](https://wordpress.org/support/users/christopherwayne/topics/)
 *   [Replies Created](https://wordpress.org/support/users/christopherwayne/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/christopherwayne/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/christopherwayne/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/christopherwayne/engagements/)
 *   [Favorites](https://wordpress.org/support/users/christopherwayne/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/users/christopherwayne/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/christopherwayne/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edwiser Bridge – WordPress Moodle Integration] Users are not created from the Edwiser Bridge form in wordpress](https://wordpress.org/support/topic/users-are-not-created-from-the-edwiser-bridge-form-in-wordpress/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/users-are-not-created-from-the-edwiser-bridge-form-in-wordpress/#post-15199465)
 * Problem solved. Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Additional Variation Images Gallery for WooCommerce] Is there a way to disable the gallery in specific categories?](https://wordpress.org/support/topic/is-there-a-way-to-disable-the-gallery-in-specific-categories/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/is-there-a-way-to-disable-the-gallery-in-specific-categories/#post-14537815)
 * Hi [@humayonk](https://wordpress.org/support/users/humayonk/)! Thanks! I will
   make the request soon.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edwiser Bridge – WordPress Moodle Integration] An active PHP session was detected](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/#post-14129640)
 * 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!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edwiser Bridge – WordPress Moodle Integration] An active PHP session was detected](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/#post-13977478)
 * 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!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edwiser Bridge – WordPress Moodle Integration] An active PHP session was detected](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/#post-13951503)
 * 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…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edwiser Bridge – WordPress Moodle Integration] An active PHP session was detected](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/#post-13850645)
 * Hello [@wisdmlabs](https://wordpress.org/support/users/wisdmlabs/)!
 * I have sent an email
 * Thanks!
    -  This reply was modified 5 years, 4 months ago by [christopherwayne](https://wordpress.org/support/users/christopherwayne/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edwiser Bridge – WordPress Moodle Integration] An active PHP session was detected](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/#post-13823833)
 * 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();
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edwiser Bridge – WordPress Moodle Integration] An active PHP session was detected](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/#post-13781617)
 * 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 5 years, 5 months ago by [christopherwayne](https://wordpress.org/support/users/christopherwayne/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edwiser Bridge – WordPress Moodle Integration] An active PHP session was detected](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/an-active-php-session-was-detected-3/#post-13669805)
 * As expected, a month and a half later there are no solutions for this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edwiser Bridge – WordPress Moodle Integration] Error: cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes](https://wordpress.org/support/topic/error-curl-error-28-operation-timed-out-after-10001-milliseconds-with-0-bytes/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-curl-error-28-operation-timed-out-after-10001-milliseconds-with-0-bytes/#post-12999898)
 * 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=edit](https://www.example.com/wp-json/wp/v2/types/post?context=edit)
 * I 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 5 years, 11 months ago by [christopherwayne](https://wordpress.org/support/users/christopherwayne/).
    -  This reply was modified 5 years, 11 months ago by [christopherwayne](https://wordpress.org/support/users/christopherwayne/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edwiser Bridge – WordPress Moodle Integration] Error: cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes](https://wordpress.org/support/topic/error-curl-error-28-operation-timed-out-after-10001-milliseconds-with-0-bytes/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-curl-error-28-operation-timed-out-after-10001-milliseconds-with-0-bytes/#post-12995155)
 * 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event Booking Manager for WooCommerce] Very serious security issue for WooCommerce](https://wordpress.org/support/topic/very-serious-security-issue-for-woocommerce/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/very-serious-security-issue-for-woocommerce/#post-12883651)
 * Hello! Thanks for the quick response. Yes, the problem seems solved. Woocommerce
   product page now returns a 404 error. Great!
 * Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event Booking Manager for WooCommerce] Discount on events](https://wordpress.org/support/topic/discount-on-events/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [6 years ago](https://wordpress.org/support/topic/discount-on-events/#post-12792421)
 * 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!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event Booking Manager for WooCommerce] Expired events are not displayed](https://wordpress.org/support/topic/expired-events-are-not-displayed/)
 *  Thread Starter [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [6 years ago](https://wordpress.org/support/topic/expired-events-are-not-displayed/#post-12752297)
 * [@aamahin](https://wordpress.org/support/users/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!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MooWoodle – WordPress Moodle LMS Integration, Sell Moodle Courses via WooCommerce] Users are created with administrator data!](https://wordpress.org/support/topic/users-are-created-with-administrator-data/)
 *  [christopherwayne](https://wordpress.org/support/users/christopherwayne/)
 * (@christopherwayne)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/users-are-created-with-administrator-data/#post-12675052)
 * Hola Fernando, estoy experimentando el mismo problema con el plugin. Alguna respuesta
   o solución hasta ahora? Saludos!

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/users/christopherwayne/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/christopherwayne/replies/page/2/?output_format=md)