Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1404990
HTTP Error for image upload
Closed

Comments

  • Christianna11 started the conversation

    I am having trouble uploading images and after contacting my web host, they said that i should do the following: 

    Please update the following script in this location: wp-content/themes/mycustomtheme/functions.php 

     add_filter( 'wp_image_editors', 'change_graphic_lib' ); function change_graphic_lib($array) { return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' ); }

    (mycustomtheme is the current using theme)


    Can you help me with the location? Because when I replace "mycustomtheme" with "soledad", i get this message on the page: "Fatal error: Call to undefined function add_action() in /home2/christianna/public_html/wp-content/themes/soledad/functions.php on line 20"


  •  2,701
    PenciDesign replied

    Hi,

    Please put that codes like on this image

    Best Regards,

    PenciDesign