Home Forums Themes Support Clarivo Issue in edit product upload image

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4622
    ijazbhatti
    Supported

    i have issue in edit product while adding image its shows me some error This is error i am facing

    While same thing work in default theme

    • This topic was modified 1 month ago by ijazbhatti.
    Attachments:
    You must be logged in to view attached files.
    #4638

    Hi,
    Thanks for contacting us and choosing our product!
    We have just checked our theme again and found the problem from HTTPS and WordPress update version.
    You can fix it by go to:
    wp-content/themes/clarivo/framework/includes/theme-functions.php
    Go to end of this file and change code of function haru_ssl_upload_url() to

    function haru_ssl_upload_url( $uploads ) {
        if ( is_ssl() )
            $uploads['url'] = str_replace( 'http://', 'https://', $uploads['url'] );
    
        return $uploads;
    }

    Now upload is working fine on your site.
    If it still have issue you can delete this line:
    add_filter( 'upload_dir', 'haru_ssl_upload_url' );
    Hope this helps!

    ****
    Regards,
    HaruTheme

    #4639
    ijazbhatti
    Supported

    Thank you so much for quick fix 🙂
    and its working fine now

    #4640

    Thanks so much for your feedback!
    Hope all are working fine now.

    *****
    Regards,
    HaruTheme

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.