Title: [Plugin: WP Carousel] ssl broke the plugin?
Last modified: August 20, 2016

---

# [Plugin: WP Carousel] ssl broke the plugin?

 *  [brianlis](https://wordpress.org/support/users/brianlis/)
 * (@brianlis)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-ssl-broke-the-plugin/)
 * Just upgraded to a ssl – secure site which for some reason cause the carousel
   to break? Can someone let me know what the fix is?
 * I see the following error inside the plugin.
    Call to undefined function is_array()
   in 2660 which is this section
 *     ```
       //<?php
       //if //($_SESSION['WP_CAROUSEL_EXTRAS']|| is_array($_SESSION['WP_CAROUSEL_EXTRAS'])):
       //foreach ($_SESSION['WP_CAROUSEL_EXTRAS'] as $key => $extra)
       //{?>
       ```
   
 * _[Please post code or markup snippets between backticks or use the code button.]_
 * Thanks,
    Brian
 * [http://wordpress.org/extend/plugins/wp-carousel/](http://wordpress.org/extend/plugins/wp-carousel/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [solutionsphp](https://wordpress.org/support/users/solutionsphp/)
 * (@solutionsphp)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-ssl-broke-the-plugin/#post-2510610)
 * I’m also having an issue with SSL, but the problem is different. My site is all
   HTTP except for certain pages, which are HTTPS. (I’m using a plugin to force 
   SSL on these pages.) On a secured page, the slider is present with no errors,
   but ALL images are shown at once, like a gallery presentation, with no slider
   functionality. I’m sad, this plugin looked perfect for my needs.
 *  Plugin Author [sumolari](https://wordpress.org/support/users/sumolari/)
 * (@sumolari)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-ssl-broke-the-plugin/#post-2510617)
 * Well, I haven’t tested it on a SSL site (for two reasons: 1) I haven’t a SSL 
   site and 2) I don’t have the knowledge to create a SSL site… yet (I hope)), but
   if one of you really want to use WP Carousel, I can send you different versions
   of WP Carousel and try to fix the problem (I’ll need to send you more than a 
   couple of different versions).
 * It will require some time, as I haven’t worked before with SSL and I don’t know
   what can be wrong, but if you help me testing WP Carousel, I’ll try to fix this.
 *  Thread Starter [brianlis](https://wordpress.org/support/users/brianlis/)
 * (@brianlis)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-ssl-broke-the-plugin/#post-2510772)
 * Here’s the link to the site in question.
    [https://vitalady.com/](https://vitalady.com/)
 * I’m getting this error on the edit carousel screen.
    Fatal error: Call to undefined
   function is_array() in /home/content/x/x/x/xxx/html/wp-content/plugins/wp-carousel/
   wp-carousel.php on line 2660
 *  Thread Starter [brianlis](https://wordpress.org/support/users/brianlis/)
 * (@brianlis)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-ssl-broke-the-plugin/#post-2510846)
 * Finally figured out the problem. I was using a plugin to force https. But the
   path in the plugin settings page was picking up the path from the database (http).
   So all I did was force the WP path to use https and the carousel came back online
   🙂
 * [http://codex.wordpress.org/Editing_wp-config.php](http://codex.wordpress.org/Editing_wp-config.php)
 * define(‘WP_SITEURL’, ‘[http://example.com/wordpress&#8217](http://example.com/wordpress&#8217););
 *  [AF](https://wordpress.org/support/users/armin-fuhrmann/)
 * (@armin-fuhrmann)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-ssl-broke-the-plugin/#post-2510881)
 * Ja, but I don’t wonted the SSL for every Page, so I force SSL for only the auth
   section. Problem was that WP carousel puts the css-link in wp_head with http 
   not with https.
 * Solution:
    In wp-caousel.php file at line 183:
 *  `if($_SERVER['SERVER_PORT'] == '443') { $wp_carousel_path = str_replace("http:","
   https:",$wp_carousel_path); }`
 * have fun 😉
 *  [AF](https://wordpress.org/support/users/armin-fuhrmann/)
 * (@armin-fuhrmann)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-ssl-broke-the-plugin/#post-2510882)
 * hmm… now it is secure, but still carousel is not working 🙁 I Dont want to secure
   the whole page with define(‘WP_SITEURL’, ‘[https://example.com/wordpress&#8217](https://example.com/wordpress&#8217););
   Is there a solution? I dont want to miss the carousel for my logged in customers…

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: WP Carousel] ssl broke the plugin?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-carousel.svg)
 * [WP Carousel](https://wordpress.org/plugins/wp-carousel/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-carousel/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-carousel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-carousel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-carousel/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [AF](https://wordpress.org/support/users/armin-fuhrmann/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-carousel-ssl-broke-the-plugin/#post-2510882)
 * Status: not resolved