WP Carousel
ssl broke the plugin? (7 posts)

  1. brianlis
    Posted 4 years ago #

    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

    //foreach ($_SESSION['WP_CAROUSEL_EXTRAS'] as $key => $extra)

    [Please post code or markup snippets between backticks or use the code button.]



  2. solutionsphp
    Posted 4 years ago #

    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.

  3. sumolari
    Plugin Author

    Posted 4 years ago #

    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.

  4. brianlis
    Posted 4 years ago #

    Here's the link to the site in question.

    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

  5. brianlis
    Posted 4 years ago #

    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 :)


    define('WP_SITEURL', 'http://example.com/wordpress');

  6. Armin Fuhrmann
    Posted 3 years ago #

    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.

    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 ;)

  7. Armin Fuhrmann
    Posted 3 years ago #

    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'); Is there a solution? I dont want to miss the carousel for my logged in customers...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Carousel
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic