Support » Plugins » Infuriating Problem

  • I installed and activated Wp-cycle Plugin. When I’m uploading images, I’m facing with this warning:

    Warning: basename() expects parameter 1 to be string, object given in /home/medicalt/public_html/wp-content/plugins/wp-cycle/wp-cycle.php on line 148

    Related line to wp-cycle.php file is here:

    // make the thumbnail
    $thumb_height = round((100 * $wp_cycle_settings[‘img_height’]) / $wp_cycle_settings[‘img_width’]);
    if(isset($upload[‘file’])) {
    $thumbnail = image_resize($file, 100, $thumb_height, true, ‘thumb’);
    $thumbnail_url = $upload_dir_url . basename($thumbnail); Line 148

Viewing 3 replies - 1 through 3 (of 3 total)
  • do not bump the topic – be patient as we are all volunteers
    I tagged this so the plugin dev may see it

    I have the same problem, how do I fix it?

    shagen

    (@shagen)

    Just had the same problem. Starting showing up after I tried to make the height auto, which in turn made the heigh zero after saving the settings. Once I set the height again, all appears to be normal.

    Would be nice if you could set the width and not worry about the height in case you have various image heights say for ads, etc.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Infuriating Problem’ is closed to new replies.