Support » Plugin: WP Carousel » [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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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

    (@sumolari)

    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.

    Here’s the link to the site in question.
    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

    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

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

    AF

    (@armin-fuhrmann)

    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

    (@armin-fuhrmann)

    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…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP Carousel] ssl broke the plugin?’ is closed to new replies.