Title: Errors on clean install
Last modified: May 13, 2018

---

# Errors on clean install

 *  [iamtomjones](https://wordpress.org/support/users/iamtomjones/)
 * (@iamtomjones)
 * [8 years ago](https://wordpress.org/support/topic/errors-on-clean-install/)
 * Hey,
 * After installing the plugin and setting up a carousel with one slide I had the
   following two issues:
 * 1.
    Notice: Undefined variable: width in /var/www/citimark-properties-multisite-
   network/wp-content/plugins/ultimate-carousel-for-visual-composer/render/carousel_father.
   php
 * The carousel was looking for a width value. In the carousel_father.php file, 
   the width param on line 130 had been commented out. If I removed the comments
   and add the width to the shortcode params in the extract function, it fixes the
   error as it now has a width value.
 * 2.
    Notice: A non well formed numeric value encountered in /var/www/citimark-
   properties-multisite-network/wp-content/plugins/ultimate-carousel-for-visual-
   composer/render/carousel_son.php
 * When adding a CTA button its default height and width are 20px and 60px, but 
   the px being included is causing the error. If I wrap each variable in str_replace(
   like this (str_replace(‘px’, ”, $btn_height)) it fixes the issue.
 * I’m just flagging this as not sure if it is an issue for others too. I would 
   rather not edit the plugin as it makes updating it in the future an issue.

The topic ‘Errors on clean install’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ultimate-carousel-for-visual-composer_0173bc.
   svg)
 * [Ultimate Carousel For WPBakery Page Builder](https://wordpress.org/plugins/ultimate-carousel-for-visual-composer/)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-carousel-for-visual-composer/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-carousel-for-visual-composer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-carousel-for-visual-composer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-carousel-for-visual-composer/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * 0 replies
 * 1 participant
 * Last reply from: [iamtomjones](https://wordpress.org/support/users/iamtomjones/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/errors-on-clean-install/)
 * Status: not resolved