Media not showing up in products page

ThemeBurn SupportForumsWordPress ThemesShoppica WordPress ThemeMedia not showing up in products page

This topic has been marked as not resolved.

Hey- My media is working and I can upload to it. However, when you are in the products page and need to pull up the media attached to the product it errors out and will show no media in the pop up. The exact error I get is:

Fatal error: Maximum execution time of 30 seconds exceeded ……wp-includes/class-wp-image-editor-imagick.php on line 320

Line 320 is the bold line:

public function crop( $src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false ) {
		if ( $src_abs ) {
			$src_w -= $src_x;
			$src_h -= $src_y;
		}

		try {
			$this->image->cropImage( $src_w, $src_h, $src_x, $src_y );
			$this->image->setImagePage( $src_w, $src_h, 0, 0);

			if ( $dst_w || $dst_h ) {
				// If destination width/height isn't specified, use same as
				// width/height from source.
				if ( ! $dst_w )
					$dst_w = $src_w;
				if ( ! $dst_h )
					$dst_h = $src_h;

				$this->image->scaleImage( $dst_w, $dst_h );
				return $this->update_size();
			}
		}
		catch ( Exception $e ) {
			return new WP_Error( 'image_crop_error', $e->getMessage() );
		}
		return $this->update_size();
	}

Below that error is this error:

Fatal error: Call to undefined method WP_Image_Editor_Imagick::P9�() in Unknown on line 0

Any advice to start fixing this would be great. I use windows in a chrome browser. Everything updated to the latest version.

January 31, 2013 at 10:53 pm #17921

Hello,

How big are your images?

The problem is that your execution time is 30 seconds.

You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!

Best,
ThemeBurn Team

February 1, 2013 at 4:24 pm #17947

Hey–

My images are around the ball park size of 1350 × 2025.

Thank you for the above- I added that line to the .htaccess file to see if it would fix it.

However it was replaced with this error on a different line:

Fatal error: Maximum execution time of 30 seconds exceeded in …../wp-includes/class-wp-image-editor-imagick.php on line 309

Is there something I should be changing in that file? All the problems seem to be coming from there.

February 5, 2013 at 9:36 pm #18190

–sigh in addition to the above I am now getting this error and can not pull from my media library through the LayerSlider WP add on or delete photos uploaded to products (my one item has like 12 photos of the same picture and I cant delete the duplicates)

Fatal error: Cannot call overloaded function for non-object in …includes/image.php on line 112

// fetch additional metadata from exif/iptc
$image_meta = wp_read_image_metadata( $file );
if ( $image_meta )
$metadata['image_meta'] = $image_meta;

I am confused about the timing out because its not even trying for 30 seconds before showing the error stated above. Now its having an issue pulling my data too?

Help on this would be wonderful– I have a deadline on this site and this problem has halted everything.

February 5, 2013 at 10:08 pm #18191

Hi,

We will need the website url, admin and ftp access, so we can check.

You can use hidepost to share private information with the support staff.

Best,
ThemeBurn team

February 5, 2013 at 10:29 pm #18192

Hey thank you sorry for the delay.

The newest error I am having now is that when you click on the products tab in admin it all errors out with that same error from above and wont show any (3 so far) products I have created in admin. They are on the site however. Thank you,

February 13, 2013 at 12:52 am #18701

Hi,

You forgot to send WP Admin details too :)

Best,
ThemeBurn Team

February 13, 2013 at 3:00 pm #18722
February 13, 2013 at 6:30 pm #18731

Hello,

Can you please send us the page where you see the error, because we tested all the products tab in admin area and everything is working okay. Also we tested uploading images, and it is working okay too.

Best,
ThemeBurn Team

February 14, 2013 at 11:30 am #18760
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.