Support » Plugins and Hacks » [Resolved] Fatal error

[Resolved] Fatal error

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author hypershock



    What version of WordPress are you using?

    And for PHP?



    Plugin Author hypershock


    Also in your ERROR_LOG on your site, you might have to use FTP of the “file browser” plugin to see it, what is the exact description of the FATAL ERROR?

    Plugin Author hypershock



    starting at line 75:

    if(exif_imagetype($_FILES["custom_image"]["tmp_name"])==IMAGETYPE_PNG) {
    				$new_name = plugin_dir_path(__FILE__) . "ribbon_maker_ribbon".$_POST['ribbon_maker_slot'].".png";
    			} else {
    				echo "Please upload a png image";

    The code in that section simply checks for an image type. Can you tell me exactly what steps you are taking to create this, including the type of file etc. As much detail as can be given will be extremely helpful. Creating a camstudio screen captured recording might be very useful too as you won’t have to describe it, I can just watch the resulting video.

    If you produce a video for me to watch of the problem you send the private link from youtube to it to me at big-al@bowie-tx.com.

    Hi Hypershock,
    Thanks for your replies. I’m using the latest version of WordPress, I don’t know about PHP. The file description is as follows:

    Fatal error: Call to undefined function exif_imagetype() in /home/fairivy1/public_html/wp-content/plugins/ribbon-maker/ribbon-maker.php on line 75

    The type of file I made was a png. I have to head out for the day right now but I will try and create a video later if possible.

    Hi again,
    I use a Mac, so I can’t create a video with camstudio, and couldn’t find any similar free software. Think you can help me with what i have? THere are no steps, i just click Choose File, select my .png, and hit Upload. Then it fails.


    Plugin Author hypershock



    I just uploaded a patch that should resolve your problem and in fact will allow you to upload any kind of image file.


    That is fantastic, thank you so much!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Fatal error’ is closed to new replies.