Title: [Plugin: WP-Cycle] uploading image error
Last modified: August 20, 2016

---

# [Plugin: WP-Cycle] uploading image error

 *  Resolved [vitamineg](https://wordpress.org/support/users/vitamineg/)
 * (@vitamineg)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-cycle-uploading-image-error/)
 * Hello, i have a version of WP-Cycle on a localhost and one live.
 * One the live install, when i try to upload an image, i get the following errors:
 * > Warning: basename() expects parameter 1 to be string, object given in /html/
   > wp-content/plugins/wp-cycle/wp-cycle.php on line 129
   > Warning: Division by zero in /html/wp-content/plugins/wp-cycle/wp-cycle.php
   > on line 137
   > Catchable fatal error: Object of class WP_Error could not be converted to string
   > in /html/wp-includes/media.php on line 250
 * Thoughts?
 * [http://wordpress.org/extend/plugins/wp-cycle/](http://wordpress.org/extend/plugins/wp-cycle/)

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

 *  Thread Starter [vitamineg](https://wordpress.org/support/users/vitamineg/)
 * (@vitamineg)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-cycle-uploading-image-error/#post-2590948)
 * FIGURED IT OUT! MY BAD – BLONDE MOMENT
 *  [kennyknapp](https://wordpress.org/support/users/kennyknapp/)
 * (@kennyknapp)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-cycle-uploading-image-error/#post-2591214)
 * What did you find? My client’s installation just started reporting two weird 
   errors when they try uploading images.
 * > Warning: getimagesize() [function.getimagesize]: Filename cannot be empty in
   > D:\Hosting\4797465\html\wp-content\plugins\wp-cycle\wp-cycle.php on line 117
   > Warning: unlink() [function.unlink]: No such file or directory in D:\Hosting\
   > 4797465\html\wp-content\plugins\wp-cycle\wp-cycle.php on line 121
   > Sorry, but the file you uploaded does not seem to be a valid image. Please 
   > try again.
 * I’m definitely using valid images, in fact, I tested it with an image they already
   had in their uploads folder. I checked permissions and applied 755 to wp-content/
   uploads and all the sub-folders. I’m using Version 0.1.12
 * I’m trying to figure out if they installed another plugin that is conflicting
   with WP-cycle or what else might have changed. This has been working fine for
   over a year and now it’s not. I’m not sure when it changed, though.

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

The topic ‘[Plugin: WP-Cycle] uploading image error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-cycle.svg)
 * [WP-Cycle](https://wordpress.org/plugins/wp-cycle/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cycle/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cycle/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cycle/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cycle/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cycle/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [kennyknapp](https://wordpress.org/support/users/kennyknapp/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-cycle-uploading-image-error/#post-2591214)
 * Status: resolved